Commit c97069d0 authored by Daniel J. Luke's avatar Daniel J. Luke
Browse files

void functions can't return values

parent 3002829f
......@@ -391,7 +391,7 @@ void do_ack(struct clientstatus *client, char *buff)
if (client->authlvl <= 0)
{
sendline(client->filedes, "444 Permission Denied");
return 0;
return;
}
strncpy(objname, buff+4, 127);
......
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