summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-16 11:54:03 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-16 11:54:03 +0000
commit04fe8e623cc87fc07388dcb3701e348211fa8125 (patch)
tree002c23d00606f1c88f7252146cf07be2d1319ad5 /src
parentc8422a60294a47c086a7dad210c5938fe8b9a3d9 (diff)
Allow NS REGISTER to unregistered nicks, silly oversight. Thanks DP! :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2083 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/core/ns_register.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ns_register.c b/src/core/ns_register.c
index 47978ad11..a899ca760 100644
--- a/src/core/ns_register.c
+++ b/src/core/ns_register.c
@@ -216,6 +216,7 @@ class CommandNSRegister : public CommandNSConfirm
public:
CommandNSRegister() : CommandNSConfirm("REGISTER", 1, 2)
{
+ this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
}
CommandReturn Execute(User *u, std::vector<std::string> &params)