From 6a9aa198569d47cccc3f000ca04ca79c09f2aff0 Mon Sep 17 00:00:00 2001 From: stskeeps Date: Sat, 14 Apr 2001 16:05:18 +0000 Subject: [PATCH] +- Fixed DEBUGMODE problem, found by someone .. --- Changes | 1 + src/ircd.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index ec581a371..6c84f5482 100644 --- a/Changes +++ b/Changes @@ -415,3 +415,4 @@ key-protection (+k) a eyes-notice is sent like it is on banwalk. -NiQuiL - Added unitedirc.network -NiQuiL - Removed a , in NiQuiL's banwalk message +- Fixed DEBUGMODE problem, found by someone .. \ No newline at end of file diff --git a/src/ircd.c b/src/ircd.c index d180c9511..a0a7aa780 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -574,8 +574,8 @@ extern TS check_pings(TS currenttime, int check_kills) ping = IsRegistered(cptr) ? (cptr->class ? cptr-> class->pingfreq : CONNECTTIMEOUT) : CONNECTTIMEOUT; - Debug((DEBUG_DEBUG, "c(%s)=%d p %d k %d r %d a %d", cptr->name, - cptr->status, ping, killflag, rflag, + Debug((DEBUG_DEBUG, "c(%s)=%d p %d k %d a %d", cptr->name, + cptr->status, ping, killflag, currenttime - cptr->lasttime)); if (ping < (currenttime - cptr->lasttime)) {