1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 11:43:12 +02:00

Pretty large coding style cleanup, in source doc

cleanup, and allow protocol mods to depend on each
other
This commit is contained in:
Adam
2012-11-22 00:50:33 -05:00
parent 368d469631
commit d33a0f75a5
303 changed files with 7880 additions and 9388 deletions
+3 -3
View File
@@ -25,13 +25,13 @@ class CommandMSSend : public Command
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
if (!memoserv)
if (!MemoServService)
return;
const Anope::string &nick = params[0];
const Anope::string &text = params[1];
MemoServService::MemoResult result = memoserv->Send(source.GetNick(), nick, text);
MemoServService::MemoResult result = MemoServService->Send(source.GetNick(), nick, text);
if (result == MemoServService::MEMO_SUCCESS)
source.Reply(_("Memo sent to \002%s\002."), nick.c_str());
else if (result == MemoServService::MEMO_INVALID_TARGET)
@@ -66,7 +66,7 @@ class MSSend : public Module
{
this->SetAuthor("Anope");
if (!memoserv)
if (!MemoServService)
throw ModuleException("No MemoServ!");
}
};