X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_sethost.cpp;h=eb2196c92d7f7966d4ec6433bbb337491d23a171;hb=3a7023f2c595d14778b3f1f7e53d3914698dd500;hp=7bc01e118934dbeaae4392af578f8d8dd8a0b33d;hpb=0baef3051c3d85c36f1a4a287ff65d59e8dd1a59;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index 7bc01e118..eb2196c92 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -25,7 +25,7 @@ using namespace std; /* $ModDesc: Provides support for the SETHOST command */ -Server *Srv; +static Server *Srv; class cmd_sethost : public command_t { @@ -35,7 +35,7 @@ class cmd_sethost : public command_t this->source = "m_sethost.so"; } - void Handle (char **parameters, int pcnt, userrec *user) + void Handle (const char** parameters, int pcnt, userrec *user) { if (strlen(parameters[0]) > 64) {