summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-09-05 14:26:57 +0000
committerSebastien Helleu <flashcode@flashtux.org>2007-09-05 14:26:57 +0000
commit8c5e618c88f5f499bf429784db98be8aa6f7367b (patch)
tree0ccc699ebf9eab20ecca133c4d09286450412048 /src
parentc0255add37ee5eaeb42d49d6e9142577114de848 (diff)
downloadweechat-8c5e618c88f5f499bf429784db98be8aa6f7367b.zip
Fixed bug with log of plugin messages (option log_plugin_msg)
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)