]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_filter.h
This will royally fuck 1.2's linking right now, but..
[user/henk/code/inspircd.git] / src / modules / m_filter.h
index 576269325dbd4ff14e2c781ec6d965cc96a015f9..5e74177e5073ce59ccadd902c4d1074cd518a1c7 100644 (file)
@@ -341,7 +341,7 @@ int FilterBase::OnPreCommand(const std::string &command, const char** parameters
                command_t* c = ServerInstance->Parser->GetHandler(command);
                if (c)
                {
-                       const char* params[127];
+                       const char* params[MAXPARAMETERS];
                        for (int item = 0; item < pcnt; item++)
                                params[item] = parameters[item];
                        params[replacepoint] = "Reason filtered";