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/unreal32.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/unreal32.c')
| -rw-r--r-- | src/protocol/unreal32.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 9d53672fc..c43afaaa5 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -1580,19 +1580,6 @@ int unreal_flood_mode_check(const char *value) } } -void unreal_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 @@ -1897,7 +1884,6 @@ void moduleAddAnopeCmds() pmodule_cmd_243(unreal_cmd_243); pmodule_cmd_211(unreal_cmd_211); pmodule_flood_mode_check(unreal_flood_mode_check); - pmodule_cmd_jupe(unreal_cmd_jupe); pmodule_valid_nick(unreal_valid_nick); pmodule_valid_chan(unreal_valid_chan); pmodule_set_umode(unreal_set_umode); |
