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

utf8-everywhere: Fixed log_write to use access instead of g_access.

This commit is contained in:
Arnavion 2012-11-04 09:27:15 -08:00
parent 6560e6365a
commit b969665e47

View File

@ -705,7 +705,7 @@ log_write (session *sess, char *text)
server_get_network (sess->server, FALSE));
if (file)
{
if (access (file, F_OK) != 0)
if (g_access (file, F_OK) != 0)
{
close (sess->logfd);
sess->logfd = log_open_file (sess->server->servername, sess->channel,