]> git.donarmstrong.com Git - infobot.git/blobdiff - src/IRC/Irc.pl
- more fixes to new-style config, should be 99% of it.
[infobot.git] / src / IRC / Irc.pl
index b0b683402135f17281feb29baba8fca18e9481d2..8d40b141e2aace32b8fa18cd23ca603cdde12eb7 100644 (file)
@@ -77,6 +77,8 @@ sub irc {
 
        my $resolve = inet_ntoa($packed);
        &status("  resolved to $resolve.");
+       ### warning in Sys/Hostname line 78???
+       ### caused inside Net::IRC?
     }
 
     $irc = new Net::IRC;
@@ -662,7 +664,7 @@ sub closeDCC {
 sub joinfloodCheck {
     my($who,$chan,$userhost) = @_;
 
-    return unless (&IsParam("joinfloodCheck"));
+    return unless (&IsChanConf("joinfloodCheck"));
 
     if (exists $netsplit{lc $who}) {   # netsplit join.
        &DEBUG("jfC: $who was in netsnipe; not checking.");