git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1479
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2005-09-12 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/m_join.c (m_join): If we find an empty key, null out the
+ key pointer.
+
2005-09-11 Michael Poole <mdpoole@troilus.org>
* RELEASE.NOTES: Mention the side benefits of this change.
&& (keys = strchr(key = keys, ',')))
*keys++ = '\0';
+ /* Empty keys are the same as no keys. */
+ if (!key[0])
+ key = 0;
+
clean_channelname(name);
if (!IsChannelName(name))
{