diff options
author | Adam <Adam@anope.org> | 2011-02-12 16:17:17 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-02-12 16:17:17 -0500 |
commit | 1372dc19537ce270f1f02979101f9b8678b5ff28 (patch) | |
tree | d56f688ec113293a2e40c78d615558f1163dad7b /modules/core/os_mode.cpp | |
parent | 9ef7352e69bc092bba77a085dfa0f91a5793e038 (diff) |
Removed the Wallop config options and replaced them with the new log system
Diffstat (limited to 'modules/core/os_mode.cpp')
-rw-r--r-- | modules/core/os_mode.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/core/os_mode.cpp b/modules/core/os_mode.cpp index 3ded8a538..74c458704 100644 --- a/modules/core/os_mode.cpp +++ b/modules/core/os_mode.cpp @@ -38,8 +38,7 @@ class CommandOSMode : public Command { c->SetModes(OperServ, false, modes.c_str()); - if (Config->WallOSMode) - ircdproto->SendGlobops(OperServ, "\2%s\2 used MODE %s on %s", u->nick.c_str(), modes.c_str(), c->name.c_str()); + Log(LOG_ADMIN, u, this) << modes << " on " << target; } } else @@ -54,8 +53,7 @@ class CommandOSMode : public Command u2->SendMessage(OperServ, _("\002%s\002 changed your usermodes to %s."), u->nick.c_str(), modes.c_str()); - if (Config->WallOSMode) - ircdproto->SendGlobops(OperServ, "\2%s\2 used MODE %s %s", u->nick.c_str(), modes.c_str(), u2->nick.c_str()); + Log(LOG_ADMIN, u, this) << modes << " on " << target; } } |