summaryrefslogtreecommitdiff
path: root/src/fe-common/irc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/irc')
-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 } },