mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-13 01:00:19 +00:00
Remove some weird guesswork on the 004 numeric. (#2621)
Bahamut and ircu both send 005 MODES and ELIST so this is entirely unnecessary. The other IRCd checked for here is for a dead network. While we're editing this code fix HexChat on servers that can only support one mode at a time (these are mostly gateway servers).
This commit is contained in:
@@ -1770,6 +1770,7 @@ server_set_defaults (server *serv)
|
||||
serv->chanmodes = g_strdup ("beI,k,l");
|
||||
serv->nick_prefixes = g_strdup ("@%+");
|
||||
serv->nick_modes = g_strdup ("ohv");
|
||||
serv->modes_per_line = 3; /* https://datatracker.ietf.org/doc/html/rfc1459#section-4.2.3.1 */
|
||||
serv->sasl_mech = MECH_PLAIN;
|
||||
|
||||
if (!serv->encoding)
|
||||
@@ -1778,6 +1779,7 @@ server_set_defaults (server *serv)
|
||||
serv->nickcount = 1;
|
||||
serv->end_of_motd = FALSE;
|
||||
serv->sent_capend = FALSE;
|
||||
serv->use_listargs = FALSE;
|
||||
serv->is_away = FALSE;
|
||||
serv->supports_watch = FALSE;
|
||||
serv->supports_monitor = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user