]> git.donarmstrong.com Git - infobot.git/commitdiff
eep
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 6 Jan 2006 09:08:53 +0000 (09:08 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 6 Jan 2006 09:08:53 +0000 (09:08 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1252 c11ca15a-4712-0410-83d8-924469b57eb5

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) {