aboutsummaryrefslogtreecommitdiffstats
path: root/joinforward
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-01-13 07:57:28 +0000
committerTom Feist <shabble@metavore.org>2011-01-13 07:57:28 +0000
commit581039cdd329b1ffc20eb8c434cd595c844c0803 (patch)
tree8242163256bd2001df2b26f749111ba4ac8231d0 /joinforward
parentadded joinforward: a script to make sure when you try joining a forwaraded (diff)
downloadirssi-scripts-581039cdd329b1ffc20eb8c434cd595c844c0803.tar.gz
irssi-scripts-581039cdd329b1ffc20eb8c434cd595c844c0803.zip
changed it to actually /join rather than /window goto.
Diffstat (limited to '')
-rw-r--r--joinforward/joinforward.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/joinforward/joinforward.pl b/joinforward/joinforward.pl
index 0b685ba..26630b2 100644
--- a/joinforward/joinforward.pl
+++ b/joinforward/joinforward.pl
@@ -45,7 +45,7 @@ sub sig_473 {
my $nick = quotemeta(Irssi::parse_special('$N'));
if ($args =~ m/^$nick\s+(#.*?)\s+/) {
if (exists $forwards->{$1}) {
- $server->command("window goto " . $forwards->{$1});
+ $server->command("join " . $forwards->{$1});
}
}