X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_operwho.cpp;h=edb0aea4de664ca4d54c26103d15c718706dbea0;hb=2330fc9ddd48c939e894e7e37e9bb2e62eafc38d;hp=9370ad765d4448ee514ae415b5b96c98ca289f27;hpb=77123f4dec9f29105f6c0ceea0262cfe8e9eaa1a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_operwho.cpp b/src/modules/m_operwho.cpp index 9370ad765..edb0aea4d 100644 --- a/src/modules/m_operwho.cpp +++ b/src/modules/m_operwho.cpp @@ -41,7 +41,7 @@ class ModuleOperWho : public Module List[I_OnPreCommand] = 1; } - virtual int OnPreCommand(const std::string &command, char **parameters, int pcnt, userrec *user, bool validated) + virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, userrec *user, bool validated) { if ((!*user->oper) || (command != "WHO"))