From 281498cddf9a3dbfefb9eb0198524ea9c6f59408 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 8 Mar 2006 05:04:36 +0000 Subject: [PATCH] don't trip the idle timer on a TIME command. --- citadel/citserver.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/citadel/citserver.c b/citadel/citserver.c index f31942313..006daec97 100644 --- a/citadel/citserver.c +++ b/citadel/citserver.c @@ -911,13 +911,14 @@ void do_command_loop(void) { /* * Let other clients see the last command we executed, and - * update the idle time, but not NOOP, QNOP, PEXP, GEXP, or RWHO. + * update the idle time, but not NOOP, QNOP, PEXP, GEXP, RWHO, or TIME. */ if ( (strncasecmp(cmdbuf, "NOOP", 4)) && (strncasecmp(cmdbuf, "QNOP", 4)) && (strncasecmp(cmdbuf, "PEXP", 4)) && (strncasecmp(cmdbuf, "GEXP", 4)) - && (strncasecmp(cmdbuf, "RWHO", 4)) ) { + && (strncasecmp(cmdbuf, "RWHO", 4)) + && (strncasecmp(cmdbuf, "TIME", 4)) ) { strcpy(CC->lastcmdname, " "); safestrncpy(CC->lastcmdname, cmdbuf, sizeof(CC->lastcmdname)); time(&CC->lastidle); -- 2.39.2