summaryrefslogtreecommitdiff
path: root/src/modules/m_watch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_watch.cpp')
-rw-r--r--src/modules/m_watch.cpp4
1 files changed, 2 insertions, 2 deletions
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