diff options
| author | Alexander Barton <alex@barton.de> | 2011-03-16 23:56:27 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2011-03-16 23:56:27 +0100 |
| commit | 77cff9e47c33d1b1bc22d1fba09607e347e55e8a (patch) | |
| tree | 42d54ca23aa3f6b5bf7d28e0ac5428cfd93b3b46 /src | |
| parent | 33e8c2480649193799d88d003b9257873aaf2b31 (diff) | |
| download | ngircd-77cff9e47c33d1b1bc22d1fba09607e347e55e8a.tar.gz ngircd-77cff9e47c33d1b1bc22d1fba09607e347e55e8a.zip | |
Move IRC_QUIT_HTTP() below IRC_QUIT()
Diffstat (limited to 'src')
| -rw-r--r-- | 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 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. * @@ -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; |