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/charybdis.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/charybdis.c')
-rw-r--r-- | src/protocol/charybdis.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/protocol/charybdis.c b/src/protocol/charybdis.c index 7996b849f..7e2800637 100644 --- a/src/protocol/charybdis.c +++ b/src/protocol/charybdis.c @@ -1562,20 +1562,6 @@ int charybdis_valid_chan(const char *chan) } -void charybdis_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); -} - int charybdis_send_account(int argc, char **argv) { send_cmd((UseTS6 ? TS6SID : ServerName), "ENCAP * SU %s :%s", @@ -1625,7 +1611,6 @@ void moduleAddAnopeCmds() pmodule_cmd_jupe(charybdis_cmd_jupe); pmodule_valid_nick(charybdis_valid_nick); pmodule_valid_chan(charybdis_valid_chan); - pmodule_cmd_ctcp(charybdis_cmd_ctcp); pmodule_set_umode(charybdis_set_umode); } |