From: Jonas Berlin Date: Mon, 9 Nov 2015 10:57:52 +0000 (+0200) Subject: Update slack_complete.pl X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=7fdca7b2fe495b1fd5bc59c9ea838c05259c35b2;p=irssi-scripts.irssi.org.git Update slack_complete.pl Remove old code accidentally not removed by previous commit --- diff --git a/scripts/slack_complete.pl b/scripts/slack_complete.pl index bd7a3d7..832fd51 100644 --- a/scripts/slack_complete.pl +++ b/scripts/slack_complete.pl @@ -33,8 +33,6 @@ my ($complist, $window, $word, $linestart, $want_space) = @_; return unless ref $wi and $wi->{type} eq 'CHANNEL'; my %chatnets = map { $_ => 1 } split(/\s+/, Irssi::settings_get_str('slack_network')); return unless exists $chatnets{$wi->{server}->{chatnet}}; - return unless $wi->{server}->{chatnet} eq - Irssi::settings_get_str('slack_network'); if ($word =~ /^@/) { $word =~ s/^@//;