summaryrefslogtreecommitdiff
path: root/modules/commands/os_oline.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-02-08 18:00:24 -0500
committerAdam <Adam@anope.org>2012-02-08 18:00:24 -0500
commit1bc8e2ab82db9ce00faaa44887338873a2cd9210 (patch)
tree22523f23f143af444fbb79fdc252966b2e44c5ff /modules/commands/os_oline.cpp
parent089c85b27e0674dc8102b15e507ebdd7386eeb87 (diff)
Removed operserv:notifications in favor of log blocks, as well as some other notifiications
Diffstat (limited to 'modules/commands/os_oline.cpp')
-rw-r--r--modules/commands/os_oline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_oline.cpp b/modules/commands/os_oline.cpp
index 6daae2fed..9ce76d95c 100644
--- a/modules/commands/os_oline.cpp
+++ b/modules/commands/os_oline.cpp
@@ -38,13 +38,13 @@ class CommandOSOLine : public Command
u2->SetMode(source.owner, UMODE_OPER);
u2->SendMessage(source.owner, _("You are now an IRC Operator."));
source.Reply(_("Operflags \002%s\002 have been added for \002%s\002."), flag.c_str(), nick.c_str());
- ircdproto->SendGlobops(source.owner, "\2%s\2 used OLINE for %s", u->nick.c_str(), nick.c_str());
+ Log(LOG_ADMIN, u, this) << "for " << nick;
}
else if (u2 && flag[0] == '-')
{
ircdproto->SendSVSO(Config->OperServ, nick, flag);
source.Reply(_("Operflags \002%s\002 have been added for \002%s\002."), flag.c_str(), nick.c_str());
- ircdproto->SendGlobops(source.owner, "\2%s\2 used OLINE for %s", u->nick.c_str(), nick.c_str());
+ Log(LOG_ADMIN, u, this) << "for " << nick;
}
else
this->OnSyntaxError(source, "");