diff options
| author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-18 23:54:17 +0000 |
|---|---|---|
| committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-18 23:54:17 +0000 |
| commit | 6c1d764c4ff6901456b9df55727d7e80d0aa76c8 (patch) | |
| tree | fac3bd10cd665c34b01d0ff01dd84852493b2c11 | |
| parent | 2b0914ae368d30573cb573d69016de8a7a615c59 (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
| -rw-r--r-- | Changes | 1 | ||||
| -rw-r--r-- | src/modules/ns_maxemail.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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> ¶ms) |
