summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-10 20:47:53 +0000
committerrobbeh <robbeh@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-10 20:47:53 +0000
commit3d8245a5a6881c14d2486912122b845e713da30a (patch)
tree891463815fecf140b23040eac799b33348e98118 /src/core
parentd01df85cd11ddcc83fe58ec0ba7b170979a02555 (diff)
fixed typo in ns_saset.c dealt with constness for change_core_display and added ASTYLE to contain astyle options
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1984 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core')
-rw-r--r--src/core/cs_register.c1
-rw-r--r--src/core/ns_saset.c10
2 files changed, 6 insertions, 5 deletions
diff --git a/src/core/cs_register.c b/src/core/cs_register.c
index c932ce426..99f819b43 100644
--- a/src/core/cs_register.c
+++ b/src/core/cs_register.c
@@ -22,6 +22,7 @@ class CommandCSRegister : public Command
public:
CommandCSRegister() : Command("REGISTER", 3, 3)
{
+
}
CommandReturn Execute(User *u, std::vector<std::string> &params)
diff --git a/src/core/ns_saset.c b/src/core/ns_saset.c
index af53f2e6c..24860bb6f 100644
--- a/src/core/ns_saset.c
+++ b/src/core/ns_saset.c
@@ -20,7 +20,7 @@ void myNickServHelp(User *u);
class CommandNSSASet : public Command
{
- private:
+private:
CommandReturn DoSetDisplay(User *u, std::vector<std::string> &params, NickCore *nc)
{
const char *param = params.size() > 2 ? params[2].c_str() : NULL;
@@ -180,7 +180,7 @@ class CommandNSSASet : public Command
{
nc->icq = tmp;
notice_lang(s_NickServ, u, NICK_SASET_ICQ_CHANGED, nc->display,
- param);
+ param);
}
}
else
@@ -479,7 +479,7 @@ class CommandNSSASet : public Command
return MOD_CONT;
}
- public:
+public:
CommandNSSASet() : Command("SASET", 2, 4)
{
}
@@ -532,7 +532,7 @@ class CommandNSSASet : public Command
return this->DoSetNoExpire(u, params, na);
else if (!stricmp(cmd, "AUTOOP"))
return this->DoSetAutoOP(u, params, na->nc);
- else if (!stricmp(cmd, "LANGUAGE")) {
+ else if (!stricmp(cmd, "LANGUAGE"))
return this->DoSetLanguage(u, params, na->nc);
else
notice_lang(s_NickServ, u, NICK_SASET_UNKNOWN_OPTION, cmd);
@@ -572,7 +572,7 @@ class CommandNSSASet : public Command
class NSSASet : public Module
{
- public:
+public:
NSSASet(const std::string &modname, const std::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");