Fixed a bug where a CAP entry for a network was not recreated on a reconnect.
This commit is contained in:
1 parent
c268f27308
commit
45bb7e668c
2 files changed
+3
-1
No files matched your search
@@ -18,7 +18,7 @@ In this alpha7 release, we have added:
|
|||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
None
|
* Fixed a bug where a CAP entry for a network was not recreated on a reconnect.
|
||||||
|
|
||||||
Incompatibilities:
|
Incompatibilities:
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
# Send PASS if we have one.
|
||||||
if (defined $cdata->{'pass'}[0]) {
|
if (defined $cdata->{'pass'}[0]) {
|
||||||
Auto::socksnd($svrname, 'PASS :'.$cdata->{'pass'}[0]) or return;
|
Auto::socksnd($svrname, 'PASS :'.$cdata->{'pass'}[0]) or return;
|
||||||
|
|||||||
Reference in new issue
Block a user