summaryrefslogtreecommitdiffstats
path: root/modules/command.pl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/command.pl')
-rw-r--r--modules/command.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/command.pl b/modules/command.pl
index 04f1d90..27cc5a9 100644
--- a/modules/command.pl
+++ b/modules/command.pl
@@ -19,6 +19,7 @@ sub command
my $cmd = $args;
my $d1;
my $nick = lc $event->{nick};
+ return 0 unless (ASM::Util->speak($event->{to}->[0]));
foreach my $command ( @{$::commands->{command}} )
{
if (defined($command->{flag})) {