summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/core/m_join.c4
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, ',')))