From: timriker Date: Sat, 20 Dec 2003 22:36:28 +0000 (+0000) Subject: more lame ircNick[0-9] instead of sql table X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=896944269dad115a56fd5eae9f67aed406a87538;p=infobot.git more lame ircNick[0-9] instead of sql table git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@910 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/IRC/Irc.pl b/src/IRC/Irc.pl index 7b6cc5a..7d08193 100644 --- a/src/IRC/Irc.pl +++ b/src/IRC/Irc.pl @@ -112,11 +112,18 @@ sub irc { if ($param{'ircNick2'}) { # prep for real multiple nick/server connects - # FIXME: all locations should get nick/server out of self, not config + # FIXME: all code should get nick/server out of self, not config $args{'Nick'} = $param{'ircNick2'}; my $conn = $irc->newconn(%args); } + if ($param{'ircNick3'}) { + # prep for real multiple nick/server connects + # FIXME: all code should get nick/server out of self, not config + $args{'Nick'} = $param{'ircNick3'}; + my $conn = $irc->newconn(%args); + } + &clearIRCVars(); # change internal timeout value for scheduler.