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/ratbox.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/ratbox.c')
-rw-r--r-- | src/protocol/ratbox.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index e2bbb367d..680e0c49f 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -1457,21 +1457,6 @@ int ratbox_valid_chan(const char *chan) } -void ratbox_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); -} - - /** * Tell anope which function we want to perform each task inside of anope. * These prototypes must match what anope expects. @@ -1503,7 +1488,6 @@ void moduleAddAnopeCmds() pmodule_cmd_jupe(ratbox_cmd_jupe); pmodule_valid_nick(ratbox_valid_nick); pmodule_valid_chan(ratbox_valid_chan); - pmodule_cmd_ctcp(ratbox_cmd_ctcp); pmodule_set_umode(ratbox_set_umode); } |