]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_sqllog.cpp
Add logging for static callback messages/errors from the database.
[user/henk/code/inspircd.git] / src / modules / extra / m_sqllog.cpp
index 7bb5ea1f190cba2e56af7f92db53d9b1d5cc851c..ac38ed61c881e43075f26134da75f37a94a6d634 100644 (file)
@@ -276,7 +276,7 @@ class ModuleSQLLog : public Module
                return 0;
        }
 
-       virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, User *user, bool validated, const std::string &original_line)
+       virtual int OnPreCommand(const std::string &command, const char* const* parameters, int pcnt, User *user, bool validated, const std::string &original_line)
        {
                if ((command == "GLINE" || command == "KLINE" || command == "ELINE" || command == "ZLINE") && validated)
                {