1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-12 18:00:28 +00:00

Move IRC_QUIT_HTTP() below IRC_QUIT()

This commit is contained in:
Alexander Barton 2011-03-16 23:56:27 +01:00
parent 33e8c24806
commit 77cff9e47c

View File

@ -683,6 +683,14 @@ IRC_QUIT( CLIENT *Client, REQUEST *Req )
} /* IRC_QUIT */
GLOBAL bool
IRC_QUIT_HTTP( CLIENT *Client, REQUEST *Req )
{
Req->argc = 0;
return IRC_QUIT(Client, Req);
} /* IRC_QUIT_HTTP */
/**
* Handler for the IRC "PING" command.
*
@ -692,14 +700,6 @@ IRC_QUIT( CLIENT *Client, REQUEST *Req )
* @param Req Request structure with prefix and all parameters.
* @returns CONNECTED or DISCONNECTED.
*/
GLOBAL bool
IRC_QUIT_HTTP( CLIENT *Client, REQUEST *Req )
{
Req->argc = 0;
return IRC_QUIT(Client, Req);
}
GLOBAL bool
IRC_PING(CLIENT *Client, REQUEST *Req)
{