]> git.donarmstrong.com Git - infobot.git/commitdiff
ircCheck now checks @joinchan for chans left to join, but should never happen.
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 1 Sep 2000 12:58:54 +0000 (12:58 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 1 Sep 2000 12:58:54 +0000 (12:58 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@65 c11ca15a-4712-0410-83d8-924469b57eb5

src/IRC/Schedulers.pl

index 13955bd1efcf4a65bb843c922a6a84dbed47eb73..11dc6acc1780c2e0c5e1af00339895a367b84cb7 100644 (file)
@@ -429,6 +429,11 @@ sub ircCheck {
        &WARN("ircCheck: ident($ident) != param{ircNick}($param{IrcNick}).");
     }
 
+    if (scalar @joinchan) {
+       &WARN("We have some channels to join, doing so.");
+       &joinNextChan();
+    }
+
     &ScheduleThis(240, "ircCheck") if (@_);
 }