From 61cb4365668096de035c23d9568f9ecbf831beab Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 25 Feb 2014 19:48:02 +0000 Subject: - m_join.c:m_join(): constification git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3040 82007160-df01-0410-b94d-b575c5fd34c7 --- modules/core/m_join.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/core') diff --git a/modules/core/m_join.c b/modules/core/m_join.c index e982888..57235c9 100644 --- a/modules/core/m_join.c +++ b/modules/core/m_join.c @@ -116,9 +116,9 @@ m_join(struct Client *client_p, struct Client *source_p, chan_list = last0(client_p, source_p, parv[1]); for (chan = strtoken(&p, chan_list, ","); chan; - chan = strtoken(&p, NULL, ",")) + chan = strtoken(&p, NULL, ",")) { - char *key = NULL; + const char *key = NULL; /* If we have any more keys, take the first for this channel. */ if (!EmptyString(key_list) && (key_list = strchr(key = key_list, ','))) -- cgit