From: dms Date: Fri, 1 Sep 2000 12:58:54 +0000 (+0000) Subject: ircCheck now checks @joinchan for chans left to join, but should never happen. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=811498f4243557ed064e3453ba0b7c9460efccf3;p=infobot.git ircCheck now checks @joinchan for chans left to join, but should never happen. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@65 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/IRC/Schedulers.pl b/blootbot/src/IRC/Schedulers.pl index 13955bd..11dc6ac 100644 --- a/blootbot/src/IRC/Schedulers.pl +++ b/blootbot/src/IRC/Schedulers.pl @@ -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 (@_); }