diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-20 18:42:58 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-20 18:42:58 -0400 |
commit | 381c9c8870fad4c544f29deec22ba4be3549a731 (patch) | |
tree | f5f26e2dd380910b0ddd26e3d885d6bf56d40181 /src/core/cs_set_persist.cpp | |
parent | 2528dc80bd1b3e6b2c09db23eb51659e30128110 (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/core/cs_set_persist.cpp')
-rw-r--r-- | src/core/cs_set_persist.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/cs_set_persist.cpp b/src/core/cs_set_persist.cpp index 0e713c715..592e54485 100644 --- a/src/core/cs_set_persist.cpp +++ b/src/core/cs_set_persist.cpp @@ -18,7 +18,7 @@ class CommandCSSetPersist : public Command { public: - CommandCSSetPersist(const ci::string &cname, const std::string &cpermission = "") : Command(cname, 2, 2, cpermission) + CommandCSSetPersist(const ci::string &cname, const ci::string &cpermission = "") : Command(cname, 2, 2, cpermission) { } @@ -79,7 +79,7 @@ class CommandCSSetPersist : public Command if (!cm && !Config.s_BotServ && ci->bi) { /* Unassign bot */ - ChanServ->UnAssign(NULL, ci); + ChanServ->UnAssign(NULL, ci); } if (ci->c && ci->c->users.empty()) @@ -142,7 +142,7 @@ class CSSetPersist : public Module Command *c = FindCommand(ChanServ, "SET"); if (c) c->AddSubcommand(new CommandCSSetPersist("PERSIST")); - + c = FindCommand(ChanServ, "SASET"); if (c) c->AddSubcommand(new CommandCSSASetPersist("PERSIST")); |