From ff2f68e617bb5bcaddfdaa5e4e29348a95d147ff Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 16 Nov 2015 15:01:57 -0600 Subject: [PATCH] supported: remove TARGMAX, nothing really uses it, and the information conveyed is useless anyway --- src/supported.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/supported.c b/src/supported.c index 1cd59213..edc4af89 100644 --- a/src/supported.c +++ b/src/supported.c @@ -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");