summaryrefslogtreecommitdiff
path: root/src/users.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-10 12:26:09 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-10 12:26:09 +0000
commit1fd0249076b85eef80a41a30b57cc47bc2a2ded2 (patch)
treed66b3c52395097d3ac99ad08be0ece9fa0fb4ecc /src/users.c
parente7a6661baa7ff8bffce9e18a45d5ea4a521347e1 (diff)
NS_VERBOTEN -> NS_FORBIDDEN, CS_VERBOTEN -> CS_FORBIDDEN, etc.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1973 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/users.c')
-rw-r--r--src/users.c4
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);