]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_noinvite.cpp
Remove unneccessary temp value which caused a win32 problem by using uint32_t type.
[user/henk/code/inspircd.git] / src / modules / m_noinvite.cpp
index d9f01f04416e07a125d4d657d44f06eb946c1e4c..d4e38bd8653c2c864a861a872fd9fc91fd695acd 100644 (file)
@@ -42,7 +42,7 @@ class ModuleNoInvite : public Module
                {
                        if (channel->IsModeSet('V'))
                        {
-                               user->WriteNumeric(492, "%s %s :Can't invite %s to channel (+V set)",user->nick.c_str(), channel->name.c_str(), dest->nick.c_str());
+                               user->WriteNumeric(ERR_NOCTCPALLOWED, "%s %s :Can't invite %s to channel (+V set)",user->nick.c_str(), channel->name.c_str(), dest->nick.c_str());
                                return 1;
                        }
                }