summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-05-11 04:18:44 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-05-11 04:18:44 +0200
commit3679dfe93eb5c4b0e123ba32a5cf55dd5854c00a (patch)
treea2b4057dabcb2b2b0d3ddeedbbc42758e6507584 /src
parentbeb3ab506de6993e80b6b6932160a23247db4130 (diff)
Make logmask consistent with scrollback mask
Diffstat (limited to 'src')
-rw-r--r--src/common/cfgfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index 76ed564f..02d8088b 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -760,7 +760,7 @@ load_config (void)
 	strcpy (prefs.hex_dnsprogram, "host");
 	strcpy (prefs.hex_gui_ulist_doubleclick, "QUERY %s");
 	strcpy (prefs.hex_input_command_char, "/");
-	strcpy (prefs.hex_irc_logmask, "%n-%c.log");
+	strcpy (prefs.hex_irc_logmask, g_build_filename ("%n", "%c.log", NULL));
 	strcpy (prefs.hex_irc_nick1, username);
 	strcpy (prefs.hex_irc_nick2, username);
 	strcat (prefs.hex_irc_nick2, "_");