aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_park.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-07-16 12:18:29 +0000
committerGravatar brain2006-07-16 12:18:29 +0000
commit0757a4a495daabf661ac3b7ab79f0a5ee423abe8 (patch)
treed788af6cee694ae3b623bbfbbc31864de43b9d12 /src/modules/m_park.cpp
parentMAJOR tidy of line parser, some parts rewritten and major chunks removed (diff)
mass tidyup, change A LOT of stuff to const char** which was char** (such as parameters to commands in handlers)
which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_park.cpp')
-rw-r--r--src/modules/m_park.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_park.cpp b/src/modules/m_park.cpp
index c57102287..782cf2f3b 100644
--- a/src/modules/m_park.cpp
+++ b/src/modules/m_park.cpp
@@ -63,7 +63,7 @@ class cmd_park : public command_t
this->source = "m_park.so";
}
- void Handle (char **parameters, int pcnt, userrec *user)
+ void Handle (const char** parameters, int pcnt, userrec *user)
{
/** Parking. easy stuff.
*
@@ -108,7 +108,7 @@ class cmd_parkstats : public command_t
this->source = "m_park.so";
}
- void Handle (char **parameters, int pcnt, userrec *user)
+ void Handle (const char** parameters, int pcnt, userrec *user)
{
char status[MAXBUF];
snprintf(status,MAXBUF,"NOTICE %s :There are a total of %lu parked clients on this server, with a maximum of %lu parked sessions allowed per user.",user->nick,(unsigned long)pinfo.size(),(unsigned long)ConcurrentParks);
@@ -124,7 +124,7 @@ class cmd_unpark : public command_t
this->source = "m_park.so";
}
- void Handle (char **parameters, int pcnt, userrec *user)
+ void Handle (const char** parameters, int pcnt, userrec *user)
{
/** Unparking. complicated stuff.
*