From 7fdca7b2fe495b1fd5bc59c9ea838c05259c35b2 Mon Sep 17 00:00:00 2001 From: Jonas Berlin Date: Mon, 9 Nov 2015 12:57:52 +0200 Subject: Update slack_complete.pl Remove old code accidentally not removed by previous commit--- scripts/slack_complete.pl | 2 -- 1 file changed, 2 deletions(-) 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/^@//; -- cgit v1.2.3