Cleanup, CAP is now core and added hook on_capack.

This commit is contained in:
Elijah Perrault committed 2011-02-27 21:33:47 -07:00
1 parent b48e77a4b3
commit e65f5d6f0a
5 files changed
+94 -48

No files matched your search

+3
View File
@@ -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]);