From df0e97550b2a8219815a9f10e3cda8d38a754f7f Mon Sep 17 00:00:00 2001 From: TingPing Date: Tue, 4 Jun 2013 06:07:51 -0300 Subject: fix loading startup.txt automatically --- src/common/hexchat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/common/hexchat.c') 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 * -- cgit 1.4.1