From 76c5573fd616dae56127a14d84fbd05c10cc1d8c Mon Sep 17 00:00:00 2001 From: Tobias Langhoff Date: Tue, 10 Jun 2014 12:58:13 +0200 Subject: Support nicklists in XMPP rooms Add support for nicklists in XMPP chat rooms when using irssi-xmpp, http://cybione.org/~irssi-xmpp/ --- scripts/nicklist.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 scripts/nicklist.pl diff --git a/scripts/nicklist.pl b/scripts/nicklist.pl old mode 100644 new mode 100755 index 0dbe4fb..0317ba3 --- 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 { -- cgit v1.2.3