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/unreal32.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/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 2839fac9d..baf645473 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -1622,19 +1622,6 @@ int unreal_valid_chan(const char *chan) { return 1; } -void unreal_cmd_ctcp(const char *source, const char *dest, const char *buf) -{ - char *s; - if (!buf) { - return; - } else { - s = normalizeBuffer(buf); - } - - send_cmd(source, "%s %s :\1%s \1", send_token("NOTICE", "B"), dest, s); - free(s); -} - /* *INDENT-OFF* */ void moduleAddIRCDMsgs(void) { Message *m; @@ -1924,7 +1911,6 @@ void moduleAddAnopeCmds() pmodule_cmd_jupe(unreal_cmd_jupe); pmodule_valid_nick(unreal_valid_nick); pmodule_valid_chan(unreal_valid_chan); - pmodule_cmd_ctcp(unreal_cmd_ctcp); pmodule_set_umode(unreal_set_umode); } |