summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorValentin Batz <senneth@irssi.org>2005-05-09 15:18:24 +0000
committervb <vb@dbcabf3a-b0e7-0310-adc4-f8d773084564>2005-05-09 15:18:24 +0000
commit721a4ef9eaa568f3f3df334b7aa22b4a45cfec50 (patch)
tree61c0845ba9fcabb342794cdeafb4135abe20f819 /scripts
parentb25310faf1b41e105394e4791bc8acba2e9c796d (diff)
downloadirssi-721a4ef9eaa568f3f3df334b7aa22b4a45cfec50.zip
Fixed bug where pasting is not using the character translation (http://bugs.irssi.org/index.php?id=151) patch by Unknown
Fixed a bug in scripts/autorejoin.pl so you can really use a space or a comma for separating the channels in /set autorejoin_channels Changed svn:mime-type of .pl and .sh files into the text/x- version, so you can diff them git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3737 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'scripts')
-rw-r--r--scripts/autorejoin.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/autorejoin.pl b/scripts/autorejoin.pl
index a6dd4b58..2d23449f 100644
--- a/scripts/autorejoin.pl
+++ b/scripts/autorejoin.pl
@@ -39,7 +39,7 @@ sub event_rejoin_kick {
return if ($server->{nick} ne $nick);
# check if we want to autorejoin this channel
- my @chans = split(/ ,/, Irssi::settings_get_str('autorejoin_channels'));
+ my @chans = split(/[ ,]+/, Irssi::settings_get_str('autorejoin_channels'));
foreach my $chan (@chans) {
if (lc($chan) eq lc($channel)) {
channel_rejoin($server, $channel);