diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
commit | f9b628b0d37844e66a8d2acae797a81444df78ba (patch) | |
tree | 64be8440b22051b5c2433969395747ca1221db34 /src/protocol/charybdis.c | |
parent | d64b3aa890976ef888c11e1c24da5b692f1d67d3 (diff) |
Remove legacy global function.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1208 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/charybdis.c')
-rw-r--r-- | src/protocol/charybdis.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/protocol/charybdis.c b/src/protocol/charybdis.c index 3af3b2dd6..9de7d6036 100644 --- a/src/protocol/charybdis.c +++ b/src/protocol/charybdis.c @@ -527,25 +527,6 @@ void charybdis_cmd_global(const char *source, const char *buf) } } -/* GLOBOPS - to handle old WALLOPS */ -void charybdis_cmd_global_legacy(const char *source, const char *fmt) -{ - Uid *u; - - if (source) { - u = find_uid(source); - if (u) { - send_cmd((UseTS6 ? u->uid : source), "OPERWALL :%s", fmt); - } else { - send_cmd((UseTS6 ? TS6SID : ServerName), "WALLOPS :%s", fmt); - } - } else { - send_cmd((UseTS6 ? TS6SID : ServerName), "WALLOPS :%s", fmt); - } - - send_cmd(source ? source : ServerName, "OPERWALL :%s", fmt); -} - int anope_event_sjoin(const char *source, int ac, const char **av) { do_sjoin(source, ac, av); @@ -1892,7 +1873,6 @@ void moduleAddAnopeCmds() pmodule_cmd_243(charybdis_cmd_243); pmodule_cmd_211(charybdis_cmd_211); pmodule_cmd_global(charybdis_cmd_global); - pmodule_cmd_global_legacy(charybdis_cmd_global_legacy); pmodule_cmd_sqline(charybdis_cmd_sqline); pmodule_cmd_squit(charybdis_cmd_squit); pmodule_cmd_svso(charybdis_cmd_svso); |