X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_setident.cpp;h=12221edb092eb59e8ad16f94e1af29e68a684006;hb=2c6c072c1f5f19d1471feb43fa94bba0030e5fb6;hp=b4dac72a5b315d63e183bc7603760338f817cafd;hpb=e280aade7ec7085c495c263ee3758a35c97fa0ed;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_setident.cpp b/src/modules/m_setident.cpp index b4dac72a5..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++) { @@ -49,7 +49,7 @@ class ModuleSetIdent : public Module virtual Version GetVersion() { - return Version(1,0,0,0,0); + return Version(1,0,0,0,VF_VENDOR); } };