diff options
| author | Tobias Langhoff | 2014-06-10 12:58:13 +0200 | 
|---|---|---|
| committer | Tobias Langhoff | 2014-06-10 12:58:13 +0200 | 
| commit | 76c5573fd616dae56127a14d84fbd05c10cc1d8c (patch) | |
| tree | dd9d19f7b1d73198496dab64dc2226c56dd979a3 | |
| parent | 5cdd2be80b0111edf164c3ceeca7153a81b23f90 (diff) | |
| download | scripts.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/
| -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 { | 
