summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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)