summaryrefslogtreecommitdiffstats
path: root/scripts/nicklist.pl
diff options
context:
space:
mode:
authorTobias Langhoff2014-06-10 12:58:13 +0200
committerTobias Langhoff2014-06-10 12:58:13 +0200
commit76c5573fd616dae56127a14d84fbd05c10cc1d8c (patch)
treedd9d19f7b1d73198496dab64dc2226c56dd979a3 /scripts/nicklist.pl
parent5cdd2be80b0111edf164c3ceeca7153a81b23f90 (diff)
downloadscripts.irssi.org-76c5573fd616dae56127a14d84fbd05c10cc1d8c.tar.bz2
Support nicklists in XMPP rooms
Add support for nicklists in XMPP chat rooms when using irssi-xmpp, http://cybione.org/~irssi-xmpp/
Diffstat (limited to 'scripts/nicklist.pl')
-rwxr-xr-x[-rw-r--r--]scripts/nicklist.pl2
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 {