summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/ns_maxemail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/ns_maxemail.c b/src/modules/ns_maxemail.c
index 4ca17e79d..2724733d0 100644
--- a/src/modules/ns_maxemail.c
+++ b/src/modules/ns_maxemail.c
@@ -30,11 +30,13 @@ int NSEmailMax = 0;
static Module *me;
+// XXX: This should probably use an event one day.
class CommandNSRegister : public Command
{
public:
CommandNSRegister() : Command("REGISTER", 2, 2)
{
+ this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
}
CommandReturn Execute(User *u, std::vector<std::string> &params)