diff options
| author | 2016-03-05 16:46:03 +0100 | |
|---|---|---|
| committer | 2016-03-05 16:46:03 +0100 | |
| commit | 0412378109ae9f618e47b2bb60729c0d8f29fe8d (patch) | |
| tree | d70d970fbde253cdc2e5a47343c758480e9bae71 /src/modules/m_uninvite.cpp | |
| parent | Add Channel::WriteNotice() (diff) | |
Send NOTICEs to local channel members with Channel::WriteNotice()
Diffstat (limited to 'src/modules/m_uninvite.cpp')
| -rw-r--r-- | src/modules/m_uninvite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_uninvite.cpp b/src/modules/m_uninvite.cpp index d3045eadc..19184751d 100644 --- a/src/modules/m_uninvite.cpp +++ b/src/modules/m_uninvite.cpp @@ -96,7 +96,7 @@ class CommandUninvite : public Command lu->WriteNumeric(493, 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->WriteChannelWithServ(ServerInstance->Config->ServerName, "NOTICE " + c->name + " :" + msg); + c->WriteNotice(msg); ServerInstance->PI->SendChannelNotice(c, 0, msg); } |
