summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/irc/irc-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc-display.c b/src/irc/irc-display.c
index 673430dc1..1c571de38 100644
--- a/src/irc/irc-display.c
+++ b/src/irc/irc-display.c
@@ -100,7 +100,7 @@ irc_display_prefix (t_irc_server *server, t_gui_buffer *buffer, char *prefix)
type = GUI_MSG_TYPE_INFO | GUI_MSG_TYPE_PREFIX;
- if (!cfg_log_plugin_msg && (prefix == GUI_PREFIX_PLUGIN))
+ if (!cfg_log_plugin_msg && (strcmp (prefix, GUI_PREFIX_PLUGIN) == 0))
type |= GUI_MSG_TYPE_NOLOG;
if (buffer)