summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/modules/ns_maxemail.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/Changes b/Changes
index 39269f024..8189fa738 100644
--- a/Changes
+++ b/Changes
@@ -8,6 +8,7 @@ Provided by Ankit <ankit@nevitus.com> - 2009
F Segfault on shutdown
Provided by Adam <adam@anope.org> - 2009
+F NickServ registration is sometimes denied.
F Applied patch from Adam to fix some potential screwups
F More fixes to bs_bot from Adam, plus an extra fix within DoAdd not covered in Adam's patch.
F Fix bs_bot to use the correct parameters, patch from Adam.
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)