From 77cff9e47c33d1b1bc22d1fba09607e347e55e8a Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 16 Mar 2011 23:56:27 +0100 Subject: [PATCH] Move IRC_QUIT_HTTP() below IRC_QUIT() --- src/ngircd/irc-login.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ngircd/irc-login.c b/src/ngircd/irc-login.c index 3c4eb189..518c9f1d 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. * @@ -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) { -- 2.40.0