diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-09-05 14:26:57 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-09-05 14:26:57 +0000 |
commit | 8c5e618c88f5f499bf429784db98be8aa6f7367b (patch) | |
tree | 0ccc699ebf9eab20ecca133c4d09286450412048 /src | |
parent | c0255add37ee5eaeb42d49d6e9142577114de848 (diff) | |
download | weechat-8c5e618c88f5f499bf429784db98be8aa6f7367b.zip |
Fixed bug with log of plugin messages (option log_plugin_msg)
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/irc-display.c | 2 |
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) |