1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-09 06:20:45 +00:00

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
This commit is contained in:
Valentin Batz 2005-05-09 15:18:24 +00:00 committed by vb
parent b25310faf1
commit 721a4ef9ea
2 changed files with 3 additions and 1 deletions

View File

@ -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);

View File

@ -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);