summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/fe-modes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/irc/fe-modes.c')
-rw-r--r--src/fe-common/irc/fe-modes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-common/irc/fe-modes.c b/src/fe-common/irc/fe-modes.c
index 44f8d89c..99b6b60d 100644
--- a/src/fe-common/irc/fe-modes.c
+++ b/src/fe-common/irc/fe-modes.c
@@ -84,9 +84,9 @@ static void print_mode(MODE_REC *rec)
tmp = modes; modes = NULL;
nicks = gslist_to_string(rec->nicks, ", ");
- printformat(rec->channel->server, rec->channel->name, MSGLEVEL_MODES,
- IRCTXT_CHANMODE_CHANGE,
- rec->channel->name, rec->mode, nicks, "");
+ printformat(rec->channel->server, rec->channel->visible_name,
+ MSGLEVEL_MODES, IRCTXT_CHANMODE_CHANGE,
+ rec->channel->visible_name, rec->mode, nicks, "");
g_free(nicks);
modes = tmp;