diff options
| author | Alexander Færøy | 2014-06-11 12:49:26 +0200 |
|---|---|---|
| committer | Alexander Færøy | 2014-06-11 12:49:26 +0200 |
| commit | 655de8af78582a82e412ae7a71a086ed445c1b36 (patch) | |
| tree | 806be4c8e7718a4a1f151212980ab04c1accfbab | |
| parent | 37a10e7d08390547c9771953110d83212f0d62b4 (diff) | |
| parent | 76c5573fd616dae56127a14d84fbd05c10cc1d8c (diff) | |
| download | scripts.irssi.org-655de8af78582a82e412ae7a71a086ed445c1b36.tar.bz2 | |
Merge pull request #1 from tobiasvl/xmpp-nicklist
Support nicklists in XMPP rooms
| -rwxr-xr-x[-rw-r--r--] | scripts/nicklist.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nicklist.pl b/scripts/nicklist.pl index 0dbe4fb..0317ba3 100644..100755 --- a/scripts/nicklist.pl +++ b/scripts/nicklist.pl @@ -407,7 +407,7 @@ sub make_nicklist { ### get & check channel ### my $channel = Irssi::active_win->{active}; - if (!$channel || (ref($channel) ne 'Irssi::Irc::Channel' && ref($channel) ne 'Irssi::Silc::Channel') || $channel->{'type'} ne 'CHANNEL' || ($channel->{chat_type} ne 'SILC' && !$channel->{'names_got'}) ) { + if (!$channel || (ref($channel) ne 'Irssi::Irc::Channel' && ref($channel) ne 'Irssi::Silc::Channel' && ref($channel) ne 'Irssi::Xmpp::Channel') || $channel->{'type'} ne 'CHANNEL' || ($channel->{chat_type} ne 'SILC' && !$channel->{'names_got'}) ) { $active_channel = undef; # no nicklist } else { |
