aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd_pass.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-07-28 12:00:25 +0000
committerGravatar brain2006-07-28 12:00:25 +0000
commit95840640cb374a0845c866bd1ad56a04dd833081 (patch)
tree17fb64980c11b26d33967f58064f3579d2a1ca4d /src/cmd_pass.cpp
parentChange some if fd > -1 to IS_LOCAL macro (diff)
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
Diffstat (limited to 'src/cmd_pass.cpp')
-rw-r--r--src/cmd_pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_pass.cpp b/src/cmd_pass.cpp
index 0f3665222..1b972efeb 100644
--- a/src/cmd_pass.cpp
+++ b/src/cmd_pass.cpp
@@ -22,7 +22,7 @@
void cmd_pass::Handle (const char** parameters, int pcnt, userrec *user)
{
// Check to make sure they havnt registered -- Fix by FCS
- if (user->registered == 7)
+ if (user->registered == REG_ALL)
{
WriteServ(user->fd,"462 %s :You may not reregister",user->nick);
return;