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/ratbox.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/ratbox.c')
-rw-r--r-- | src/protocol/ratbox.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index e6427b232..27e7ff3e1 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -516,25 +516,6 @@ void ratbox_cmd_global(const char *source, const char *buf) } } -/* GLOBOPS - to handle old WALLOPS */ -void ratbox_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), "OPERWALL :%s", fmt); - } - } else { - send_cmd((UseTS6 ? TS6SID : ServerName), "OPERWALL :%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); @@ -1788,7 +1769,6 @@ void moduleAddAnopeCmds() pmodule_cmd_243(ratbox_cmd_243); pmodule_cmd_211(ratbox_cmd_211); pmodule_cmd_global(ratbox_cmd_global); - pmodule_cmd_global_legacy(ratbox_cmd_global_legacy); pmodule_cmd_sqline(ratbox_cmd_sqline); pmodule_cmd_squit(ratbox_cmd_squit); pmodule_cmd_svso(ratbox_cmd_svso); |