diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
commit | a587cdc9987b0b8f4c86caa70f1bca741a69145d (patch) | |
tree | a3701adf69225092c0023c813e7f15b2b96d9971 /src/protocol/bahamut.c | |
parent | 34afc576d7b3f43cf099b8cb28e86a4740bf41f1 (diff) |
Added cmd_ctcp() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1263 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/bahamut.c')
-rw-r--r-- | src/protocol/bahamut.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c index 6b582fb5b..87ca850d8 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -1336,19 +1336,6 @@ int bahamut_valid_chan(const char *chan) return 1; } -void bahamut_cmd_ctcp(const char *source, const char *dest, const char *buf) -{ - char *s; - if (!buf) { - return; - } else { - s = normalizeBuffer(buf); - } - - send_cmd(source, "NOTICE %s :\1%s \1", dest, s); - free(s); -} - /* this avoids "undefined symbol" messages of those whom try to load mods that call on this function */ void bahamut_cmd_chghost(const char *nick, const char *vhost) @@ -1389,7 +1376,6 @@ void moduleAddAnopeCmds() pmodule_cmd_jupe(bahamut_cmd_jupe); pmodule_valid_nick(bahamut_valid_nick); pmodule_valid_chan(bahamut_valid_chan); - pmodule_cmd_ctcp(bahamut_cmd_ctcp); pmodule_set_umode(bahamut_set_umode); } |