1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Log writing sometimes might have produced some glib errors.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2499 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-02-17 14:41:38 +00:00 committed by cras
parent 74b1a57540
commit c02ac34c65

View File

@ -290,7 +290,7 @@ void log_file_write(const char *server_tag, const char *item, int level,
if (!found && !no_fallbacks && fallbacks != NULL) {
/* not found from any items, so write it to all main logs */
tmpstr = (level & MSGLEVEL_PUBLIC) ?
tmpstr = (level & MSGLEVEL_PUBLIC) && item != NULL ?
g_strconcat(item, ": ", str, NULL) :
g_strdup(str);