X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_setident.cpp;h=12221edb092eb59e8ad16f94e1af29e68a684006;hb=2330fc9ddd48c939e894e7e37e9bb2e62eafc38d;hp=3af511419233a47a8396823426bc7a2c594685f7;hpb=0b0b96967a2d694ed91243fffa8b8a9839965e26;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_setident.cpp b/src/modules/m_setident.cpp index 3af511419..12221edb0 100644 --- a/src/modules/m_setident.cpp +++ b/src/modules/m_setident.cpp @@ -4,7 +4,7 @@ /* $ModDesc: Provides support for the SETIDENT command */ -Server *Srv; +static Server *Srv; class cmd_setident : public command_t { @@ -14,7 +14,7 @@ class cmd_setident : public command_t this->source = "m_setident.so"; } - void Handle(char **parameters, int pcnt, userrec *user) + void Handle(const char** parameters, int pcnt, userrec *user) { for(unsigned int x = 0; x < strlen(parameters[0]); x++) {