Fixed a bug where a CAP entry for a network was not recreated on a reconnect.

This commit is contained in:
Elijah Perrault committed 2011-03-02 22:05:13 -07:00
1 parent c268f27308
commit 45bb7e668c
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -214,6 +214,8 @@ sub ircsock {
}
}
# Create a CAP entry if it doesn't already exist.
if (!$Proto::IRC::cap{$svrname}) { $Proto::IRC::cap{$svrname} = 'multi-prefix' }
# Send PASS if we have one.
if (defined $cdata->{'pass'}[0]) {
Auto::socksnd($svrname, 'PASS :'.$cdata->{'pass'}[0]) or return;