0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

supported: remove TARGMAX, nothing really uses it, and the information conveyed is useless anyway

This commit is contained in:
William Pitcock 2015-11-16 15:01:57 -06:00
parent 439bf4db58
commit ff2f68e617

View file

@ -276,17 +276,6 @@ isupport_maxlist(const void *ptr)
return result;
}
static const char *
isupport_targmax(const void *ptr)
{
static char result[200];
rb_snprintf(result, sizeof result, "NAMES:1,LIST:1,KICK:1,WHOIS:1,PRIVMSG:%d,NOTICE:%d,ACCEPT:,MONITOR:",
ConfigFileEntry.max_targets,
ConfigFileEntry.max_targets);
return result;
}
static const char *
isupport_extban(const void *ptr)
{
@ -339,7 +328,6 @@ init_isupport(void)
add_isupport("CNOTICE", isupport_string, "");
add_isupport("DEAF", isupport_umode, "D");
add_isupport("FNC", isupport_string, "");
add_isupport("TARGMAX", isupport_targmax, NULL);
add_isupport("EXTBAN", isupport_extban, NULL);
add_isupport("WHOX", isupport_string, "");
add_isupport("CLIENTVER", isupport_string, "3.0");