This should fix a socket timeout issue.

This commit is contained in:
Elijah Perrault committed 2011-02-01 22:01:33 -07:00
1 parent 3b95067bf6
commit df2b9fa16e
2 files changed
+13 -2

No files matched your search

+8
View File
@@ -85,6 +85,14 @@ sub num001
my ($svr, @ex) = @_;
$got_001{$svr} = 1;
my $stst = 1;
foreach (keys %got_001) {
if (!$got_001{$_}) {
$stst = 0;
last;
}
}
$Auto::SOCKTIMEOUT = 1 if $stst;
# In case we don't get NICK from the server.
if (defined $botnick{$svr}{newnick}) {