summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-10 21:15:24 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-10 21:15:24 +0000
commit7a4b0418bc5f96330b35ea7d8e1a7be98a059680 (patch)
tree1f7f6859a2a52f57dd614e93411ae258d22081b7 /src
parent3d8245a5a6881c14d2486912122b845e713da30a (diff)
Fix ns_set.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1985 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/core/ns_set.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/ns_set.c b/src/core/ns_set.c
index c19352bb7..fa034effe 100644
--- a/src/core/ns_set.c
+++ b/src/core/ns_set.c
@@ -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)