summaryrefslogtreecommitdiff
path: root/src/operserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/operserv.c')
-rw-r--r--src/operserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/operserv.c b/src/operserv.c
index 90e00f553..143ed9a70 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -141,7 +141,7 @@ void operserv(User * u, char *buf)
if (!(s = strtok(NULL, ""))) {
s = "";
}
- anope_cmd_ctcp(s_OperServ, u->nick, "PING %s", s);
+ anope_SendCTCP(s_OperServ, u->nick, "PING %s", s);
} else {
mod_run_cmd(s_OperServ, u, OPERSERV, cmd);
}