Cleanup, CAP is now core and added hook on_capack.
This commit is contained in:
1 parent
b48e77a4b3
commit
e65f5d6f0a
5 files changed
+94
-48
No files matched your search
@@ -218,6 +218,9 @@ sub ircsock {
|
||||
if (defined $cdata->{'pass'}[0]) {
|
||||
Auto::socksnd($svrname, 'PASS :'.$cdata->{'pass'}[0]) or return;
|
||||
}
|
||||
# Send CAP LS.
|
||||
Auto::socksnd($svrname, 'CAP LS');
|
||||
# Trigger on_preconnect.
|
||||
API::Std::event_run('on_preconnect', $svrname);
|
||||
# Send NICK/USER.
|
||||
API::IRC::nick($svrname, $cdata->{'nick'}[0]);
|
||||
|
||||
Reference in new issue
Block a user