diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:13 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:13 +0000 |
| commit | 82dcf8a39876553f6b7f5e0b4119e409b3f566aa (patch) | |
| tree | 808e4441bcbd490b1ca6707b65ee0e8f4801a873 /src/protocol/ratbox.c | |
| parent | 7eb190b1bd8cd9b3c89ec68aa0251fd5cd8e5add (diff) | |
Added cmd_jupe() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1269 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/ratbox.c')
| -rw-r--r-- | src/protocol/ratbox.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index aab1d63a8..3666f7ec3 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -1401,19 +1401,6 @@ int anope_event_error(const char *source, int ac, const char **av) return MOD_CONT; } -void ratbox_cmd_jupe(const char *jserver, const char *who, const char *reason) -{ - char rbuf[256]; - - snprintf(rbuf, sizeof(rbuf), "Juped by %s%s%s", who, - reason ? ": " : "", reason ? reason : ""); - - if (findserver(servlist, jserver)) - ircd_proto.cmd_squit(jserver, rbuf); - ircd_proto.cmd_server(jserver, 2, rbuf); - new_server(me_server, jserver, rbuf, SERVER_JUPED, NULL); -} - /* 1 = valid nick 0 = nick is in valid @@ -1461,7 +1448,6 @@ void moduleAddAnopeCmds() pmodule_cmd_243(ratbox_cmd_243); pmodule_cmd_211(ratbox_cmd_211); pmodule_flood_mode_check(ratbox_flood_mode_check); - pmodule_cmd_jupe(ratbox_cmd_jupe); pmodule_valid_nick(ratbox_valid_nick); pmodule_valid_chan(ratbox_valid_chan); pmodule_set_umode(ratbox_set_umode); |
