diff options
| author | 2015-03-01 05:28:30 +0400 | |
|---|---|---|
| committer | 2015-03-01 05:28:30 +0400 | |
| commit | e07d1efcdfcda394694b78e3b4d674a6bddb6b4d (patch) | |
| tree | 7ea44ece8ee092a12af75796792e7c9aa26d728f /config-default | |
| parent | acee655335162e3430f5e94bb0e7080046a2be35 (diff) | |
Allow ;ping <cookie> (acting as echo) for users with 's' flag
Diffstat (limited to 'config-default')
| -rw-r--r-- | config-default/commands.xml | 7 |
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"); ]]> |
