Skip to content

Commit

Permalink
Support CAP multi-prefix too
Browse files Browse the repository at this point in the history
  • Loading branch information
hinrik committed Jul 29, 2011
1 parent a9eac6d commit 43c1ea2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Revision history for Perl extension POE::Component::IRC.

{{$NEXT}}
- State.pm: Support multiple modes per user in NAMES replies (NAMESX)
- State.pm: Support multiple modes in NAMES replies (NAMESX, multi-prefix)

6.69 Fri Jul 29 01:52:38 GMT 2011
- Whois.pm: Collect info from numerics 307 and 310
Expand Down
3 changes: 2 additions & 1 deletion lib/POE/Component/IRC.pm
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,8 @@ sub _send_login {
# Now that we're connected, attempt to log into the server.

# for servers which support CAP, it's customary to start with that
$kernel->call($session, 'sl_login', 'CAP REQ identify-msg');
$kernel->call($session, 'sl_login', 'CAP REQ :identify-msg');
$kernel->call($session, 'sl_login', 'CAP REQ :multi-prefix');
$kernel->call($session, 'sl_login', 'CAP LS');
$kernel->call($session, 'sl_login', 'CAP END');

Expand Down

0 comments on commit 43c1ea2

Please sign in to comment.