summaryrefslogtreecommitdiff
path: root/src/cmd_pass.cpp
diff options
context:
space:
mode:
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;