1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 19:22:22 -05:00

fix loading startup.txt automatically

This commit is contained in:
TingPing 2013-06-04 06:07:51 -03:00
parent 983b4ace89
commit df0e97550b

View File

@ -438,9 +438,7 @@ irc_init (session *sess)
} }
/* load -e <xdir>/startup.txt */ /* load -e <xdir>/startup.txt */
buf = g_build_filename (get_xdir (), "startup.txt", NULL); load_perform_file (sess, "startup.txt");
load_perform_file (sess, buf);
g_free (buf);
} }
static session * static session *