inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 3b67b43f6a4ffbcc2dbc5bbed8abd537b92e9422
parent 97e03b761faf0e0e44665a83acc6079de255d8ed
Author: Peter Powell <petpow@saberuk.com>
Date:   Tue,  4 Jun 2019 17:37:16 +0100

Fix showing the anticaps channel name in ERR_CANNOTSENDTOCHAN.

Closes #1652.

Diffstat:
Msrc/modules/m_anticaps.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/m_anticaps.cpp b/src/modules/m_anticaps.cpp @@ -173,7 +173,7 @@ class ModuleAntiCaps : public Module void InformUser(Channel* channel, User* user, const std::string& message) { - user->WriteNumeric(ERR_CANNOTSENDTOCHAN, channel, message + " and was blocked."); + user->WriteNumeric(ERR_CANNOTSENDTOCHAN, channel->name, message + " and was blocked."); } public: