summaryrefslogtreecommitdiff
path: root/src/helpserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpserv.c')
-rw-r--r--src/helpserv.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/helpserv.c b/src/helpserv.c
index 336ee3049..7e4e1e8a9 100644
--- a/src/helpserv.c
+++ b/src/helpserv.c
@@ -50,9 +50,10 @@ void helpserv(User * u, char *buf)
if (!cmd) {
return;
} else if (stricmp(cmd, "\1PING") == 0) {
- if (!(s = strtok(NULL, "")))
- s = "\1";
- notice(s_HelpServ, u->nick, "\1PING %s", s);
+ if (!(s = strtok(NULL, ""))) {
+ s = "";
+ }
+ anope_cmd_ctcp(s_HelpServ, u->nick, "PING %s", s);
} else {
mod_run_cmd(s_HelpServ, u, HELPSERV, cmd);
}