1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

Fixed bug with log of plugin messages (option log_plugin_msg)

This commit is contained in:
Sebastien Helleu
2007-09-05 14:26:57 +00:00
parent c0255add37
commit 8c5e618c88
+1 -1
View File
@@ -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)