]> git.donarmstrong.com Git - infobot.git/blobdiff - src/IRC/IrcHelpers.pl
eep
[infobot.git] / src / IRC / IrcHelpers.pl
index 200ddfdcbed83c3756f0db66fefacd1bcf55c665..7f41bd9a085d7ffbe4e4e5bb83a789976d319826 100644 (file)
@@ -141,7 +141,7 @@ sub hookMsg {
     if ($addressed) {
        my $time = $flood{$floodwho}{$message} || 0;
 
-       if (!&hasFlag("o") and $msgType eq "public" and (time() - $time < $interval)) {
+       if ($msgType eq "public" and (time() - $time < $interval)) {
            ### public != personal who so the below is kind of pointless.
            my @who;
            foreach (keys %flood) {