From 458be36a321615c0f3004a6abde7e14d40f5da32 Mon Sep 17 00:00:00 2001 From: Adam- Date: Sun, 8 Nov 2009 20:06:21 +0000 Subject: Rewrote all of the old C style flag systems into a new Flag class which everything inherits from. This breaks reading and writing flags to the old databases (and probably many other things aswell) - Don't use it git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2636 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/hs_setall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hs_setall.c') diff --git a/src/core/hs_setall.c b/src/core/hs_setall.c index e8a9c7dab..8343eb0f9 100644 --- a/src/core/hs_setall.c +++ b/src/core/hs_setall.c @@ -109,7 +109,7 @@ class CommandHSSetAll : public Command if ((na = findnick(nick))) { - if (na->status & NS_FORBIDDEN) + if (na->HasFlag(NS_FORBIDDEN)) { notice_lang(s_HostServ, u, NICK_X_FORBIDDEN, nick); if (vIdent) { -- cgit