Log when the user specifies an invalid port.

This commit is contained in:
Sadie Powell 2022-01-17 21:51:40 +00:00 committed by Patrick
parent 91adfb5917
commit 7df34cdcb2

View File

@ -1567,6 +1567,7 @@ server_connect (server *serv, char *hostname, int port, int no_login)
if (serv->use_ssl) if (serv->use_ssl)
port = 6697; port = 6697;
#endif #endif
g_debug ("Attempted to connect to invalid port, assuming default port %d", port);
} }
if (serv->connected || serv->connecting || serv->recondelay_tag) if (serv->connected || serv->connecting || serv->recondelay_tag)