Module: ngircd.git Branch: master Commit: 77cff9e47c33d1b1bc22d1fba09607e347e55e8a URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=77cff...
Author: Alexander Barton alex@barton.de Date: Wed Mar 16 23:56:27 2011 +0100
Move IRC_QUIT_HTTP() below IRC_QUIT()
---
src/ngircd/irc-login.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/ngircd/irc-login.c b/src/ngircd/irc-login.c index 3c4eb18..518c9f1 100644 --- a/src/ngircd/irc-login.c +++ b/src/ngircd/irc-login.c @@ -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. * @@ -693,14 +701,6 @@ IRC_QUIT( CLIENT *Client, REQUEST *Req ) * @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) { CLIENT *target, *from;
ngircd-commits@lists.barton.de