summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/autorejoin.pl2
-rw-r--r--src/fe-text/gui-readline.c2
2 files changed, 3 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);
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c
index 259b40e3..06ce0148 100644
--- a/src/fe-text/gui-readline.c
+++ b/src/fe-text/gui-readline.c
@@ -281,6 +281,7 @@ static void paste_send(void)
history = command_history_current(active_win);
command_history_add(history, text);
+ translate_output(text);
signal_emit("send command", 3, text,
active_win->active_server, active_win->active);
g_free(text);
@@ -293,6 +294,7 @@ static void paste_send(void)
history = command_history_current(active_win);
command_history_add(history, str->str);
+ translate_output(str->str);
signal_emit("send command", 3, str->str,
active_win->active_server,
active_win->active);