summaryrefslogtreecommitdiff
path: root/src/nickserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nickserv.c')
-rw-r--r--src/nickserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nickserv.c b/src/nickserv.c
index 32572a212..e4a48bd56 100644
--- a/src/nickserv.c
+++ b/src/nickserv.c
@@ -144,7 +144,7 @@ void nickserv(User * u, char *buf)
if (!(s = strtok(NULL, ""))) {
s = "";
}
- anope_SendCTCP(s_NickServ, u->nick, "PING %s", s);
+ ircdproto->SendCTCP(findbot(s_NickServ), u->nick, "PING %s", s);
} else {
mod_run_cmd(s_NickServ, u, NICKSERV, cmd);
}