mirror of
https://github.com/osmarks/ngircd.git
synced 2025-03-24 09:56:54 +00:00
Log(LOG_DEBUG, .. -> LogDebug()
This commit is contained in:
parent
a09034563a
commit
37602d1523
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "portab.h"
|
#include "portab.h"
|
||||||
|
|
||||||
static char UNUSED id[] = "$Id: irc-server.c,v 1.41 2006/10/06 21:32:58 fw Exp $";
|
static char UNUSED id[] = "$Id: irc-server.c,v 1.42 2006/12/02 14:10:48 fw Exp $";
|
||||||
|
|
||||||
#include "imp.h"
|
#include "imp.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@ -67,9 +67,8 @@ IRC_SERVER( CLIENT *Client, REQUEST *Req )
|
|||||||
if (Client_Type(Client) == CLIENT_GOTPASS) {
|
if (Client_Type(Client) == CLIENT_GOTPASS) {
|
||||||
/* We got a PASS command from the peer, and now a SERVER
|
/* We got a PASS command from the peer, and now a SERVER
|
||||||
* command: the peer tries to register itself as a server. */
|
* command: the peer tries to register itself as a server. */
|
||||||
Log(LOG_DEBUG,
|
LogDebug("Connection %d: got SERVER command (new server link) ...",
|
||||||
"Connection %d: got SERVER command (new server link) ...",
|
Client_Conn(Client));
|
||||||
Client_Conn(Client));
|
|
||||||
|
|
||||||
/* Falsche Anzahl Parameter? */
|
/* Falsche Anzahl Parameter? */
|
||||||
if(( Req->argc != 2 ) && ( Req->argc != 3 )) return IRC_WriteStrClient( Client, ERR_NEEDMOREPARAMS_MSG, Client_ID( Client ), Req->command );
|
if(( Req->argc != 2 ) && ( Req->argc != 3 )) return IRC_WriteStrClient( Client, ERR_NEEDMOREPARAMS_MSG, Client_ID( Client ), Req->command );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user