summaryrefslogtreecommitdiff
path: root/src/users.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:10 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:10 +0000
commitc32c3c99a1e1d395c88e901de200c21b9ca1e84f (patch)
treee272e1dc395df2947314ff24f0f9ce12b94f8f53 /src/users.c
parent431918ceacfd5a580d4f28a8ae6077c9bbc44b99 (diff)
Made all protocol modules able to be compiled via mostly constifying strings.
Due to the above, also had to constify strings in many other areas. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1202 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/users.c')
-rw-r--r--src/users.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/users.c b/src/users.c
index 30a30049d..ba9fb3e48 100644
--- a/src/users.c
+++ b/src/users.c
@@ -6,8 +6,8 @@
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
- * Based on the original code of Services by Andy Church.
- *
+ * Based on the original code of Services by Andy Church.
+ *
* $Id$
*
*/
@@ -492,9 +492,9 @@ Uid *find_nickuid(const char *uid)
/* Handle a server NICK command. */
-User *do_nick(const char *source, char *nick, char *username, char *host,
- char *server, char *realname, time_t ts, uint32 svid,
- uint32 ip, char *vhost, char *uid)
+User *do_nick(const char *source, const char *nick, const char *username, const char *host,
+ const char *server, const char *realname, time_t ts, uint32 svid,
+ uint32 ip, const char *vhost, const char *uid)
{
User *user = NULL;
@@ -831,7 +831,7 @@ void do_umode2(const char *source, int ac, const char **av)
* av[0] = reason
*/
-void do_quit(const char *source, int ac, char **av)
+void do_quit(const char *source, int ac, const char **av)
{
User *user;
NickAlias *na;