git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1938
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2010-01-06 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/m_topic.c (ms_topic): When no topic timestamp is passed,
+ use the current time instead of the channel creation time.
+
2010-01-06 Michael Poole <mdpoole@troilus.org>
* ircd/m_silence.c (m_silence): Only show the silence list for the
2010-01-06 Michael Poole <mdpoole@troilus.org>
* ircd/m_silence.c (m_silence): Only show the silence list for the
if (parc > 3 && (ts = atoi(parv[2])) && chptr->creationtime < ts)
continue;
if (parc > 3 && (ts = atoi(parv[2])) && chptr->creationtime < ts)
continue;
+ ts = 0; /* Default to the current time if no topic_time is passed. */
if (parc > 4 && (ts = atoi(parv[3])) && chptr->topic_time > ts)
continue;
if (parc > 4 && (ts = atoi(parv[3])) && chptr->topic_time > ts)
continue;