summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config-default/commands.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/config-default/commands.xml b/config-default/commands.xml
index 41351a1..4503c56 100644
--- a/config-default/commands.xml
+++ b/config-default/commands.xml
@@ -632,7 +632,12 @@
$conn->sl("WHO $chan %tcnuhra,314");
]]>
</command>
- <command cmd="^;ping$">
+ <command cmd="^;ping\s+(\S.*)$" flag="s">
+ <![CDATA[
+ $conn->privmsg($event->replyto, "pong $1");
+ ]]>
+ </command>
+ <command cmd="^;ping\s*$">
<![CDATA[
$conn->privmsg($event->replyto, "pong");
]]>