summaryrefslogtreecommitdiff
path: root/src/botserv.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 14:08:21 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 14:08:21 +0000
commitf0caf3a4e0d37d8e5550923b9ec14eed640ff838 (patch)
tree33259005460e09c23b6b17c616a4d49f4b5f1219 /src/botserv.c
parent17ac25990b12b502492cbab48597ebf140fb6c28 (diff)
SVSJOIN, SVSPART, CTCP, svid_umode*, unregistered nickchange func renames
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1312 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/botserv.c')
-rw-r--r--src/botserv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/botserv.c b/src/botserv.c
index 8d529af0e..3c3c90497 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -92,7 +92,7 @@ void botserv(User * u, char *buf)
if (!(s = strtok(NULL, ""))) {
s = "";
}
- anope_cmd_ctcp(s_BotServ, u->nick, "PING %s", s);
+ anope_SendCTCP(s_BotServ, u->nick, "PING %s", s);
} else {
mod_run_cmd(s_BotServ, u, BOTSERV, cmd);
}
@@ -115,7 +115,7 @@ void botmsgs(User * u, BotInfo * bi, char *buf)
if (!(s = strtok(NULL, ""))) {
s = "";
}
- anope_cmd_ctcp(bi->nick, u->nick, "PING %s", s);
+ anope_SendCTCP(bi->nick, u->nick, "PING %s", s);
}
}
@@ -139,7 +139,7 @@ void botchanmsgs(User * u, ChannelInfo * ci, char *buf)
/* Answer to ping if needed, without breaking the buffer. */
if (!strnicmp(buf, "\1PING", 5)) {
- anope_cmd_ctcp(ci->bi->nick, u->nick, "PING %s", buf);
+ anope_SendCTCP(ci->bi->nick, u->nick, "PING %s", buf);
}
/* If it's a /me, cut the CTCP part at the beginning (not