1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 15:23:13 +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
+4 -4
View File
@@ -25,12 +25,12 @@ class CommandMSSendAll : public Command
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
if (!memoserv)
if (!MemoServService)
return;
const Anope::string &text = params[0];
if (readonly)
if (Anope::ReadOnly)
{
source.Reply(MEMO_SEND_DISABLED);
return;
@@ -41,7 +41,7 @@ class CommandMSSendAll : public Command
const NickCore *nc = it->second;
if (nc != source.nc)
memoserv->Send(source.GetNick(), nc->display, text);
MemoServService->Send(source.GetNick(), nc->display, text);
}
source.Reply(_("A massmemo has been sent to all registered users."));
@@ -67,7 +67,7 @@ class MSSendAll : public Module
{
this->SetAuthor("Anope");
if (!memoserv)
if (!MemoServService)
throw ModuleException("No MemoServ!");
}
};