From: Art Cancro Date: Wed, 8 Mar 2006 05:04:36 +0000 (+0000) Subject: don't trip the idle timer on a TIME command. X-Git-Tag: v7.86~4136 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=281498cddf9a3dbfefb9eb0198524ea9c6f59408;p=citadel.git don't trip the idle timer on a TIME command. --- 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);