diff options
Diffstat (limited to 'src/users.c')
-rw-r--r-- | src/users.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.c b/src/users.c index 35d4b6635..364d3bdc0 100644 --- a/src/users.c +++ b/src/users.c @@ -834,7 +834,7 @@ void do_quit(const char *source, int ac, const char **av) if (debug) { alog("debug: %s quits", source); } - if ((na = user->na) && (!(na->status & NS_VERBOTEN)) + if ((na = user->na) && (!(na->status & NS_FORBIDDEN)) && (!(na->nc->flags & NI_SUSPENDED)) && (na->status & (NS_IDENTIFIED | NS_RECOGNIZED))) { na->last_seen = time(NULL); @@ -870,7 +870,7 @@ void do_kill(const char *nick, const char *msg) if (debug) { alog("debug: %s killed", nick); } - if ((na = user->na) && (!(na->status & NS_VERBOTEN)) + if ((na = user->na) && (!(na->status & NS_FORBIDDEN)) && (!(na->nc->flags & NI_SUSPENDED)) && (na->status & (NS_IDENTIFIED | NS_RECOGNIZED))) { na->last_seen = time(NULL); |