]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_anticaps.cpp
Add the msgid tag to all outgoing messages.
[user/henk/code/inspircd.git] / src / modules / m_anticaps.cpp
index e916edd53ee12069af7d2badd708961b95ff1521..ef3c750ce55c9a498aef28c13f132286f23cd160 100644 (file)
@@ -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:
@@ -297,7 +297,7 @@ class ModuleAntiCaps : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides support for punishing users that send capitalised messages.", VF_COMMON|VF_VENDOR);
+               return Version("Provides support for punishing users that send capitalised messages", VF_COMMON|VF_VENDOR);
        }
 };