diff options
author | Peter Powell <petpow@saberuk.com> | 2019-11-17 22:06:36 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-11-17 22:17:42 +0000 |
commit | 687778b72e31322a73b2e2e17af6bd0f2a2561bc (patch) | |
tree | d492c428f43378723357a0f82a2cb73ba994ad83 /src/modules/m_uninvite.cpp | |
parent | b443df39386c77cf2d027e2b45c4d629261e0100 (diff) |
Allow Channel::WriteNotice send to other servers and status ranks.
Diffstat (limited to 'src/modules/m_uninvite.cpp')
-rw-r--r-- | src/modules/m_uninvite.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/m_uninvite.cpp b/src/modules/m_uninvite.cpp index ae1553a23..ec5653806 100644 --- a/src/modules/m_uninvite.cpp +++ b/src/modules/m_uninvite.cpp @@ -100,10 +100,7 @@ class CommandUninvite : public Command user->WriteRemoteNumeric(n); lu->WriteNumeric(RPL_UNINVITED, InspIRCd::Format("You were uninvited from %s by %s", c->name.c_str(), user->nick.c_str())); - - std::string msg = "*** " + user->nick + " uninvited " + u->nick + "."; - c->WriteNotice(msg); - ServerInstance->PI->SendChannelNotice(c, 0, msg); + c->WriteNotice(InspIRCd::Format("*** %s uninvited %s.", user->nick.c_str(), u->nick.c_str())); } return CMD_SUCCESS; |