Commit b969665e authored by Arnavion's avatar Arnavion
Browse files

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

parent 6560e636
...@@ -705,7 +705,7 @@ log_write (session *sess, char *text) ...@@ -705,7 +705,7 @@ log_write (session *sess, char *text)
server_get_network (sess->server, FALSE)); server_get_network (sess->server, FALSE));
if (file) if (file)
{ {
if (access (file, F_OK) != 0) if (g_access (file, F_OK) != 0)
{ {
close (sess->logfd); close (sess->logfd);
sess->logfd = log_open_file (sess->server->servername, sess->channel, sess->logfd = log_open_file (sess->server->servername, sess->channel,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment