diff options
Diffstat (limited to 'src')
-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: |