diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-02-25 19:48:02 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-02-25 19:48:02 +0000 |
commit | 61cb4365668096de035c23d9568f9ecbf831beab (patch) | |
tree | 83fc9c55d02da349c456ca17e1e564452dbcbe14 /modules | |
parent | c20c297ae617abbfe45a8e886095b8d739d5e64f (diff) |
- 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
Diffstat (limited to 'modules')
-rw-r--r-- | modules/core/m_join.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, ','))) |