summaryrefslogtreecommitdiff
path: root/src/cmd_kill.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_kill.cpp')
-rw-r--r--src/cmd_kill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_kill.cpp b/src/cmd_kill.cpp
index ba9ac9dc7..0084da9dc 100644
--- a/src/cmd_kill.cpp
+++ b/src/cmd_kill.cpp
@@ -65,7 +65,7 @@ void cmd_kill::Handle (const char** parameters, int pcnt, userrec *user)
clientlist.erase(iter);
}
- if (u->registered == 7)
+ if (u->registered == REG_ALL)
{
purge_empty_chans(u);
}