X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=src%2Fngircd%2Fclient.c;h=c957ac73b029ea267edf45ac496a3e0f7684157c;hb=93e36555e3f03bd1375f8c35913c54459604c7c2;hp=634cecdced292005599caa32995c0c7b1221be0a;hpb=b0caf5984ea0f6db7d864dee05c2ccdf78907298;p=ngircd-alex.git diff --git a/src/ngircd/client.c b/src/ngircd/client.c index 634cecdc..c957ac73 100644 --- a/src/ngircd/client.c +++ b/src/ngircd/client.c @@ -1499,9 +1499,7 @@ Client_RegisterWhowas( CLIENT *Client ) slot = Last_Whowas + 1; if( slot >= MAX_WHOWAS || slot < 0 ) slot = 0; -#ifdef DEBUG - Log( LOG_DEBUG, "Saving WHOWAS information to slot %d ...", slot ); -#endif + LogDebug( "Saving WHOWAS information to slot %d ...", slot ); My_Whowas[slot].time = now; strlcpy( My_Whowas[slot].id, Client_ID( Client ), @@ -1703,10 +1701,10 @@ Client_DebugDump(void) { CLIENT *c; - Log(LOG_DEBUG, "Client status:"); + LogDebug("Client status:"); c = My_Clients; while (c) { - Log(LOG_DEBUG, + LogDebug( " - %s: type=%d, host=%s, user=%s, conn=%d, start=%ld, flags=%s", Client_ID(c), Client_Type(c), Client_Hostname(c), Client_User(c), Client_Conn(c), Client_StartTime(c),