From 95840640cb374a0845c866bd1ad56a04dd833081 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 28 Jul 2006 12:00:25 +0000 Subject: Change all references to voodoo numbers (7, 3 etc) to the new bitwise constants for user->registered Change a lot of user->fd > -1 to use the IS_LOCAL() macro git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4569 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_alias.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_alias.cpp') diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index 869bc6a1f..93df8e031 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -96,7 +96,7 @@ class ModuleAlias : public Module * and if theyre not registered yet, we dont want * to know either */ - if ((validated) || (user->registered != 7)) + if ((validated) || (user->registered != REG_ALL)) return 0; for (unsigned int i = 0; i < Aliases.size(); i++) -- cgit v1.3.1-10-gc9f91