]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Move IRC_QUIT_HTTP() below IRC_QUIT()
authorAlexander Barton <alex@barton.de>
Wed, 16 Mar 2011 22:56:27 +0000 (23:56 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 16 Mar 2011 22:56:27 +0000 (23:56 +0100)
src/ngircd/irc-login.c

index 3c4eb189d58b7035d2c7bd7df7c53d47bceddced..518c9f1d605207a7128ce26b37ae63bab295703b 100644 (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)
 {