summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJonas Berlin2015-11-09 12:57:52 +0200
committerJonas Berlin2015-11-09 12:57:52 +0200
commit7fdca7b2fe495b1fd5bc59c9ea838c05259c35b2 (patch)
treec36fe957fe739281ae34c750c051a5e909b2fc8e /scripts
parente46f362efb0c4f068c861ad9eb7f9ef314684970 (diff)
downloadscripts.irssi.org-7fdca7b2fe495b1fd5bc59c9ea838c05259c35b2.tar.bz2
Update slack_complete.pl
Remove old code accidentally not removed by previous commit
Diffstat (limited to 'scripts')
-rw-r--r--scripts/slack_complete.pl2
1 files changed, 0 insertions, 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/^@//;