summaryrefslogtreecommitdiffstats
path: root/config-default/commands.xml
diff options
context:
space:
mode:
authorLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2008-12-22 01:42:37 +0000
committerLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2008-12-22 01:42:37 +0000
commit48694a2b7f728acb01e9dc0d6d3ca28c7f09ede9 (patch)
treea3d5c9bc0f92bb09bfc9e8bfb8e683bc375d9903 /config-default/commands.xml
parentba55c0675df20a89a452162216af4b6a8e06ce5c (diff)
Committing stuff because it's been way too long.
Diffstat (limited to 'config-default/commands.xml')
-rw-r--r--config-default/commands.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/config-default/commands.xml b/config-default/commands.xml
index 3595281..0bc7f8e 100644
--- a/config-default/commands.xml
+++ b/config-default/commands.xml
@@ -41,7 +41,7 @@
$conn->privmsg($event->{to}->[0], "Hiya $nick");
]]>
</command>
- <command cmd="^;user flags (\S+)(?: (\S+))?$" flag="d">
+ <command cmd="^;user flags (\S+) ?(?: (\S+))?$" flag="d">
<![CDATA[
my $nick = lc $1;
my $flags = $2;
@@ -89,7 +89,7 @@
<command cmd="^;target (\S+) (\S+) ?(\S*)$" flag="a">
<![CDATA[
my $chan = $1;
- my $nick = $2;
+ my $nick = lc $2;
my $level= $3;
my $link = ASM::Util->getLink(lc $chan);
if ( lc $link ne lc $chan ) {
@@ -253,7 +253,7 @@
$conn->privmsg($event->{to}->[0], $x . " exempted");
]]>
</command>
- <command cmd="^\!ops ?(#\S+)? ?(.*)">
+ <command cmd="^\!ops ?(#\S+)? ?(.*)" nohush="nohush">
<![CDATA[
my $tgt = $event->{to}->[0];
$tgt = $1 if (defined($1));