From 0412378109ae9f618e47b2bb60729c0d8f29fe8d Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sat, 5 Mar 2016 16:46:03 +0100 Subject: Send NOTICEs to local channel members with Channel::WriteNotice() --- src/modules/m_uninvite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_uninvite.cpp') 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); } -- cgit v1.2.3