From 1c72768b93208cfa29db52b45819b59dfe623b34 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 24 Apr 2002 08:52:33 +0000 Subject: [PATCH] added host parameter to /format nick_changed, own_nick_changed and chanmode_change git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2712 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/fe-modes.c | 2 +- src/fe-common/irc/module-formats.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fe-common/irc/fe-modes.c b/src/fe-common/irc/fe-modes.c index 8b436107..f420af8a 100644 --- a/src/fe-common/irc/fe-modes.c +++ b/src/fe-common/irc/fe-modes.c @@ -189,7 +189,7 @@ static void sig_message_mode(IRC_SERVER_REC *server, const char *channel, else { printformat(server, channel, MSGLEVEL_MODES, IRCTXT_CHANMODE_CHANGE, - channel, mode, nick); + channel, mode, nick, addr); } } } diff --git a/src/fe-common/irc/module-formats.c b/src/fe-common/irc/module-formats.c index b40e7004..dbfadd68 100644 --- a/src/fe-common/irc/module-formats.c +++ b/src/fe-common/irc/module-formats.c @@ -63,7 +63,7 @@ FORMAT_REC fecommon_irc_formats[] = { { "topic", "Topic for {channelhilight $0}: $1", 2, { 0, 0 } }, { "no_topic", "No topic set for {channelhilight $0}", 1, { 0 } }, { "topic_info", "Topic set by {nick $0} {comment $1}", 2, { 0, 0 } }, - { "chanmode_change", "mode/{channelhilight $0} {mode $1} by {nick $2}", 3, { 0, 0, 0 } }, + { "chanmode_change", "mode/{channelhilight $0} {mode $1} by {nick $2}", 4, { 0, 0, 0, 0 } }, { "server_chanmode_change", "{netsplit ServerMode}/{channelhilight $0} {mode $1} by {nick $2}", 3, { 0, 0, 0 } }, { "channel_mode", "mode/{channelhilight $0} {mode $1}", 2, { 0, 0 } }, { "bantype", "Ban type changed to {channel $0}", 1, { 0 } },