summaryrefslogtreecommitdiffstats
path: root/config-default/commands.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config-default/commands.xml')
-rw-r--r--config-default/commands.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-default/commands.xml b/config-default/commands.xml
index db04442..ccb02e6 100644
--- a/config-default/commands.xml
+++ b/config-default/commands.xml
@@ -552,7 +552,7 @@
$tgt = lc $1 if (defined($1));
my $msg = $1;
$msg = $2 if defined($2);
- unless (defined($::sc{$tgt}{users}{lc $event->{nick}})) {
+ unless (lc $tgt ~~ $::sn{lc $event->{nick}}->{mship}) {
return; #they're not on the channel they're calling !ops for
}
unless (defined($::ignored{$tgt}) && ($::ignored{$tgt} >= $::RISKS{'opalert'})) {