diff options
| author | 2016-03-05 16:58:50 +0100 | |
|---|---|---|
| committer | 2016-03-05 16:58:50 +0100 | |
| commit | cee5a82d95fc3f5d3670ef483998bfc2d4a5a82e (patch) | |
| tree | d70d970fbde253cdc2e5a47343c758480e9bae71 /src/modules/m_remove.cpp | |
| parent | Merge pull request #1150 from johanna-a/conname_extban (diff) | |
| parent | Send NOTICEs to local channel members with Channel::WriteNotice() (diff) | |
| download | inspircd++-cee5a82d95fc3f5d3670ef483998bfc2d4a5a82e.tar.gz inspircd++-cee5a82d95fc3f5d3670ef483998bfc2d4a5a82e.tar.bz2 inspircd++-cee5a82d95fc3f5d3670ef483998bfc2d4a5a82e.zip | |
Merge branch 'master+chanwritenotice'
Diffstat (limited to 'src/modules/m_remove.cpp')
| -rw-r--r-- | src/modules/m_remove.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index 5b0efe2a2..d643bc0cd 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -130,7 +130,7 @@ class RemoveBase : public Command /* Build up the part reason string. */ reason = "Removed by " + user->nick + ": " + reasonparam; - channel->WriteChannelWithServ(ServerInstance->Config->ServerName, "NOTICE %s :%s removed %s from the channel", channel->name.c_str(), user->nick.c_str(), target->nick.c_str()); + channel->WriteNotice(InspIRCd::Format("%s removed %s from the channel", user->nick.c_str(), target->nick.c_str())); target->WriteNotice("*** " + user->nick + " removed you from " + channel->name + " with the message: " + reasonparam); channel->PartUser(target, reason); |
