summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-18 23:54:17 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-18 23:54:17 +0000
commit6c1d764c4ff6901456b9df55727d7e80d0aa76c8 (patch)
treefac3bd10cd665c34b01d0ff01dd84852493b2c11 /src/modules
parent2b0914ae368d30573cb573d69016de8a7a615c59 (diff)
Fix problems with registration being denied, thanks Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2114 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules')
-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)