diff --git a/src/common/hexchat.c b/src/common/hexchat.c index aa37b850..65999794 100644 --- a/src/common/hexchat.c +++ b/src/common/hexchat.c @@ -438,9 +438,7 @@ irc_init (session *sess) } /* load -e /startup.txt */ - buf = g_build_filename (get_xdir (), "startup.txt", NULL); - load_perform_file (sess, buf); - g_free (buf); + load_perform_file (sess, "startup.txt"); } static session *