cooper / juno

a seriously modern IRC daemon written from scratch in Perl. designed to be ridiculously extensible, painlessly reloadable, and excessively configurable
https://juno.mitchellcooper.me
ISC License
15 stars 4 forks source link

Improve check_new_server() #149

Open cooper opened 7 years ago

cooper commented 7 years ago

check_new_server() needs to check port, IP, SSL, etc. Then we can eliminate code repetition for doing those things. It needs to also check if the server name is invalid.