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:
+4
-2
@@ -132,7 +132,7 @@ class CommandNSSet : public Command
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
CommandReturn DoSetUrl(User *u, std::vector<std::string> ¶ms)
|
||||
CommandReturn DoSetUrl(User *u, std::vector<std::string> ¶ms, 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> ¶ms)
|
||||
CommandReturn DoSetEmail(User *u, std::vector<std::string> ¶ms, 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)
|
||||
|
||||
Reference in New Issue
Block a user