CVS: blootbot/src/IRC IrcHooks.pl,1.109,1.110
Brought to you by:
timriker
From: David <dm...@us...> - 2003-06-03 09:59:40
|
Update of /cvsroot/blootbot/blootbot/src/IRC In directory sc8-pr-cvs1:/tmp/cvs-serv22006 Modified Files: IrcHooks.pl Log Message: - forgot $ - shoot me. Index: IrcHooks.pl =================================================================== RCS file: /cvsroot/blootbot/blootbot/src/IRC/IrcHooks.pl,v retrieving revision 1.109 retrieving revision 1.110 diff -u -r1.109 -r1.110 --- IrcHooks.pl 21 May 2003 15:23:42 -0000 1.109 +++ IrcHooks.pl 3 Jun 2003 09:59:36 -0000 1.110 @@ -151,7 +151,7 @@ $ircstats{'ConnectTime'} = time(); $ircstats{'ConnectCount'}++; if (defined $ircstats{'DisconnectTime'}) { - ircstats{'OffTime'} += time() - $ircstats{'DisconnectTime'}; + $ircstats{'OffTime'} += time() - $ircstats{'DisconnectTime'}; } # first time run. @@ -374,9 +374,7 @@ # clear any variables on reconnection. $nickserv = 0; - &DEBUG("on_disconnect: 1"); &clearIRCVars(); - &DEBUG("on_disconnect: 2"); if (!defined $self) { &WARN("on_disconnect: self is undefined! WTF"); |