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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-modes.c b/src/fe-common/irc/fe-modes.c
index 027d7a76..e5317c0f 100644
--- a/src/fe-common/irc/fe-modes.c
+++ b/src/fe-common/irc/fe-modes.c
@@ -135,7 +135,7 @@ static void msg_multi_mode(IRC_CHANNEL_REC *channel, const char *sender,
signal_add("print starting", (SIGNAL_FUNC) sig_print_starting);
rec = mode_find_channel(channel);
- if (rec != NULL && strcmp(rec->mode, mode) != 0) {
+ if (rec != NULL && g_strcmp0(rec->mode, mode) != 0) {
/* different mode than last time, show and remove the old */
print_mode(rec);
mode_destroy(rec);