summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-04-24 08:52:33 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-04-24 08:52:33 +0000
commit1c72768b93208cfa29db52b45819b59dfe623b34 (patch)
tree378fb5b94f3c67f452b035da81d2ddc77f2c0638
parent346fe6af7b07e7231ca32d8ce9d9816deff063f6 (diff)
downloadirssi-1c72768b93208cfa29db52b45819b59dfe623b34.zip
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
-rw-r--r--src/fe-common/irc/fe-modes.c2
-rw-r--r--src/fe-common/irc/module-formats.c2
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 } },