1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 07:23:14 +02:00

Fix ns_set.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1985 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rburchell
2009-02-10 21:15:24 +00:00
parent 3d8245a5a6
commit 7a4b0418bc
+4 -2
View File
@@ -132,7 +132,7 @@ class CommandNSSet : public Command
return MOD_CONT;
}
CommandReturn DoSetUrl(User *u, std::vector<std::string> &params)
CommandReturn DoSetUrl(User *u, std::vector<std::string> &params, NickCore *nc)
{
const char *param = params.size() > 1 ? params[1].c_str() : NULL;
@@ -152,7 +152,7 @@ class CommandNSSet : public Command
return MOD_CONT;
}
CommandReturn DoSetEmail(User *u, std::vector<std::string> &params)
CommandReturn DoSetEmail(User *u, std::vector<std::string> &params, NickCore *nc)
{
const char *param = params.size() > 1 ? params[1].c_str() : NULL;
@@ -530,6 +530,8 @@ class CommandNSSet : public Command
notice_lang(s_NickServ, u, NICK_HELP_SET_AUTOOP);
else
notice_lang(s_NickServ, u, NICK_HELP_SET);
return true;
}
void OnSyntaxError(User *u)