]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Process.pl
- modules: woops, used wrong var. should work now.
[infobot.git] / src / Process.pl
index 5a166e12eec7da1e8b4007b66f95784feef18768..05f297b95b7cd345fd6b81066d6d0151edae9d7f 100644 (file)
@@ -190,6 +190,8 @@ sub process {
        my $found = 0;
 
        foreach (keys %channels) {
+           # don't test for $channel{_default} elsewhere !!!
+           next if (/^\s*$/ || /^_?default$/);
            next unless (&IsNickInChan($who,$_));
 
            $found++;