diff options
Diffstat (limited to 'modules/m_set.c')
-rw-r--r-- | modules/m_set.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/modules/m_set.c b/modules/m_set.c index 4fa1970..ddd19a7 100644 --- a/modules/m_set.c +++ b/modules/m_set.c @@ -58,7 +58,6 @@ static void quote_autoconnall(struct Client *, int); static void quote_floodcount(struct Client *, int); static void quote_identtimeout(struct Client *, int); static void quote_max(struct Client *, int); -static void quote_msglocale(struct Client *, char *); static void quote_spamnum(struct Client *, int); static void quote_spamtime(struct Client *, int); static void quote_splitmode(struct Client *, char *); @@ -85,7 +84,6 @@ static const struct SetStruct set_cmd_table[] = { "FLOODCOUNT", quote_floodcount, 0, 1 }, { "IDENTTIMEOUT", quote_identtimeout, 0, 1 }, { "MAX", quote_max, 0, 1 }, - { "MSGLOCALE", quote_msglocale, 1, 0 }, { "SPAMNUM", quote_spamnum, 0, 1 }, { "SPAMTIME", quote_spamtime, 0, 1 }, { "SPLITMODE", quote_splitmode, 1, 0 }, @@ -258,22 +256,6 @@ quote_max(struct Client *source_p, int newval) me.name, source_p->name, ServerInfo.max_clients, Count.local); } -/* SET MSGLOCALE */ -static void -quote_msglocale(struct Client *source_p, char *locale) -{ - if (locale != NULL) - { - set_locale(locale); - rebuild_isupport_message_line(); - sendto_one(source_p, ":%s NOTICE %s :Set MSGLOCALE to '%s'", - me.name, source_p->name, get_locale()); - } - else - sendto_one(source_p, ":%s NOTICE %s :MSGLOCALE is currently '%s'", - me.name, source_p->name, get_locale()); -} - /* SET SPAMNUM */ static void quote_spamnum(struct Client *source_p, int newval) |