diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-03-05 16:58:50 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-03-05 16:58:50 +0100 |
commit | cee5a82d95fc3f5d3670ef483998bfc2d4a5a82e (patch) | |
tree | d70d970fbde253cdc2e5a47343c758480e9bae71 /src/modules/m_override.cpp | |
parent | 33d0a3b53a7bb8d2f13aac9ed2f81cde4dbbb4ff (diff) | |
parent | 0412378109ae9f618e47b2bb60729c0d8f29fe8d (diff) |
Merge branch 'master+chanwritenotice'
Diffstat (limited to 'src/modules/m_override.cpp')
-rw-r--r-- | src/modules/m_override.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp index 8bf1d3079..9cfc3aed0 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -58,7 +58,7 @@ class ModuleOverride : public Module } if (NoisyOverride) - chan->WriteChannelWithServ(ServerInstance->Config->ServerName, "NOTICE %s :%s used oper override to bypass %s", chan->name.c_str(), user->nick.c_str(), bypasswhat); + chan->WriteNotice(InspIRCd::Format("%s used oper override to bypass %s", user->nick.c_str(), bypasswhat)); ServerInstance->SNO->WriteGlobalSno('v', user->nick+" used oper override to bypass " + mode + " on " + chan->name); return MOD_RES_ALLOW; } |