1
0
mirror of https://github.com/irssi/irssi.git synced 2025-02-02 15:08:01 -05:00
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@933 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-12-03 02:28:01 +00:00 committed by cras
parent 4a295a7343
commit 4d39f311f9
2 changed files with 3 additions and 2 deletions

View File

@ -59,7 +59,7 @@ FORMAT_REC fecommon_irc_formats[] = {
{ "channel_rejoin", "Channel {channel $0} is temporarily unavailable, this is normally because of netsplits. Irssi will now automatically try to rejoin back to this channel until the join is successful. Use /RMREJOINS command if you wish to abort this.", 1, { 0 } },
{ "inviting", "Inviting {nick $0} to {channel $1}", 2, { 0, 0 } },
{ "not_invited", "You have not been invited to a channel!", 0 },
{ "names", "{names_users Users {names_channel $0}}$1", 2, { 0, 0 } },
{ "names", "{names_users Users {names_channel $0}} $1", 2, { 0, 0 } },
{ "names_nick", "{names_nick $0 $1}", 2, { 0, 0 } },
{ "endofnames", "{channel $0}: Total of {hilight $1} nicks {comment {hilight $2} ops, {hilight $3} voices, {hilight $4} normal}", 5, { 0, 1, 1, 1, 1 } },
{ "channel_created", "Channel {channelhilight $0} created $1", 2, { 0, 0 } },

View File

@ -982,6 +982,7 @@ static char *gui_window_line_get_format(WINDOW_REC *window, LINE_REC *line,
ret = NULL;
else {
argcount = 0;
memset(args, 0, sizeof(args));
while (*text != '\0' || text[1] != LINE_CMD_EOL) {
args[argcount] = line_read_format(&text);
if (raw != NULL) {