]> git.donarmstrong.com Git - infobot.git/blobdiff - blootbot/src/IRC/Irc.pl
really support negative booleans and and return -1 for IsChanConf() when they are...
[infobot.git] / blootbot / src / IRC / Irc.pl
index 7eecd58ac8f43eeb89b972e60e1c5849bc5fcb70..b121fdf7c5e7e0ca74b9e13868480e488eb3ca05 100644 (file)
@@ -895,7 +895,7 @@ sub closeDCC {
 sub joinfloodCheck {
     my($who,$chan,$userhost) = @_;
 
-    return unless (&IsChanConf("joinfloodCheck"));
+    return unless (&IsChanConf("joinfloodCheck") > 0);
 
     if (exists $netsplit{lc $who}) {   # netsplit join.
        &DEBUG("joinfloodCheck: $who was in netsplit; not checking.");