1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 20:26:38 +02:00

Fix parameters of NS SET within ns_maxemail so it doesn't break ns_set's version of it.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2204 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2009-03-24 01:24:04 +00:00
parent b7a995c1f1
commit 3495e8a575
+2 -2
View File
@@ -53,14 +53,14 @@ class CommandNSRegister : public Command
class CommandNSSet : public Command
{
public:
CommandNSSet() : Command("SET", 2, 2)
CommandNSSet() : Command("SET", 1, 3)
{
}
CommandReturn Execute(User *u, std::vector<std::string> &params)
{
const char *set = params[0].c_str();
const char *email = params[1].c_str();
const char *email = params[1].size() > 1 ? params[1].c_str() : NULL;
if (!stricmp(set, "email"))
return MOD_CONT;