diff options
author | Peter Powell <petpow@saberuk.com> | 2019-06-04 17:37:16 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-06-04 17:37:49 +0100 |
commit | 3b67b43f6a4ffbcc2dbc5bbed8abd537b92e9422 (patch) | |
tree | 95b03bedc375b06dd0d813dc88244d85b25ad820 /src/modules/m_anticaps.cpp | |
parent | 97e03b761faf0e0e44665a83acc6079de255d8ed (diff) |
Fix showing the anticaps channel name in ERR_CANNOTSENDTOCHAN.
Closes #1652.
Diffstat (limited to 'src/modules/m_anticaps.cpp')
-rw-r--r-- | src/modules/m_anticaps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_anticaps.cpp b/src/modules/m_anticaps.cpp index 463ff809b..ef3c750ce 100644 --- 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: |