X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_watch.cpp;h=c15609a4d07e11fafffa02ce764884aa33060970;hb=1484a054870bdfe94346057053d5c8e48a708232;hp=faf0792dc11da72fd2c6c8453ee53d51d635bb2d;hpb=73e972340bee8ea9cdbbe5520b1b461fbce1f121;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index faf0792dc..c15609a4d 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -47,7 +47,7 @@ class cmd_watch : public command_t this->source = "m_watch.so"; } - void Handle (char **parameters, int pcnt, userrec *user) + void Handle (const char** parameters, int pcnt, userrec *user) { if (!pcnt) { @@ -68,7 +68,7 @@ class cmd_watch : public command_t { for (int x = 0; x < pcnt; x++) { - char *nick = parameters[x]; + const char *nick = parameters[x]; if (!strcasecmp(nick,"C")) { // watch clear