summaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-06-20 18:42:58 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-06-20 18:42:58 -0400
commit381c9c8870fad4c544f29deec22ba4be3549a731 (patch)
treef5f26e2dd380910b0ddd26e3d885d6bf56d40181 /src/command.cpp
parent2528dc80bd1b3e6b2c09db23eb51659e30128110 (diff)
The first of a few "CBX OCDing over code style" commits, focusing on include/* and src/* but not src/core/* or src/modules/*.
Diffstat (limited to 'src/command.cpp')
-rw-r--r--src/command.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/command.cpp b/src/command.cpp
index 922f298c3..5c4bc4ee4 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -3,14 +3,12 @@
* Copyright (C) 2008-2010 Anope Team <team@anope.org>
*
* Please read COPYING and README for further details.
- *
- *
- *
*/
+
#include "services.h"
#include "modules.h"
-Command::Command(const ci::string &sname, size_t min_params, size_t max_params, const std::string &spermission) : MaxParams(max_params), MinParams(min_params), name(sname), permission(spermission)
+Command::Command(const ci::string &sname, size_t min_params, size_t max_params, const ci::string &spermission) : MaxParams(max_params), MinParams(min_params), name(sname), permission(spermission)
{
this->module = NULL;
this->service = NULL;
@@ -33,7 +31,7 @@ void Command::OnSyntaxError(User *u, const ci::string &subcommand)
{
}
-void Command::SetPermission(const std::string &reststr)
+void Command::SetPermission(const ci::string &reststr)
{
this->permission = reststr;
}
@@ -47,4 +45,3 @@ bool Command::DelSubcommand(const ci::string &cname)
{
return false;
}
-