summaryrefslogtreecommitdiffstats
path: root/lib/ASM
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ASM')
-rw-r--r--lib/ASM/Commander.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ASM/Commander.pm b/lib/ASM/Commander.pm
index edad532..b4572fc 100644
--- a/lib/ASM/Commander.pm
+++ b/lib/ASM/Commander.pm
@@ -109,7 +109,7 @@ my $cmdtbl = {
'^;restrict (?<type>nick|account|host) (?<who>\S+) (?<mode>\+|-)(?<restriction>[a-z0-9_-]+)$' => {
'flag' => 'a',
'cmd' => \&cmd_restrict },
- '^\s*\!ops ?(?<chan>#\S+)? ?(?<reason>.*)' => {
+ '^\s*\!ops(?:\s+(?<chan>#\S+))?[\s|]+(?<reason>.*)' => {
'nohush' => 'nohush',
'cmd' => \&cmd_ops },
'^;blacklist (?<string>.+)' => {