aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_remove.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-02-04 12:26:25 +0000
committerGravatar Sadie Powell2020-02-04 12:26:25 +0000
commit6da4987073aad99061360bc54022e342e3a0f555 (patch)
treed4e8cca5270013eed9915fe740f346cd6890a7c4 /src/modules/m_remove.cpp
parentVarious CI improvements. (diff)
parentInclude the ABI version with the incompatible module error message. (diff)
downloadinspircd++-6da4987073aad99061360bc54022e342e3a0f555.tar.gz
inspircd++-6da4987073aad99061360bc54022e342e3a0f555.tar.bz2
inspircd++-6da4987073aad99061360bc54022e342e3a0f555.zip
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_remove.cpp')
-rw-r--r--src/modules/m_remove.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp
index 0bd17c61a..0d5ac2f5b 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -2,7 +2,7 @@
* InspIRCd -- Internet Relay Chat Daemon
*
* Copyright (C) 2017 B00mX0r <b00mx0r@aureus.pw>
- * Copyright (C) 2013, 2018 Sadie Powell <sadie@witchery.services>
+ * Copyright (C) 2013, 2018, 2020 Sadie Powell <sadie@witchery.services>
* Copyright (C) 2012-2014, 2016 Attila Molnar <attilamolnar@hush.com>
* Copyright (C) 2012, 2019 Robby <robby@chatbelgie.be>
* Copyright (C) 2012 Justin Crawford <Justasic@Gmail.com>
@@ -142,7 +142,7 @@ class RemoveBase : public Command
/* Build up the part reason string. */
reason = "Removed by " + user->nick + ": " + reasonparam;
- channel->WriteNotice(InspIRCd::Format("%s removed %s from the channel", user->nick.c_str(), target->nick.c_str()));
+ channel->WriteRemoteNotice(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);