X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_topic.c;h=4fb1a8f0d0384ecff1da3e9a2b6fc461f84e3738;hb=c15b8a598d525cd9ff555a748c88ec1fe67d7b58;hp=8eebf458c1407eec5ed3b9ff8cf8c044b20955cd;hpb=a25ce1d73a5f5a92057a6e7c62894e4683eb4280;p=ircu2.10.12-pk.git diff --git a/ircd/m_topic.c b/ircd/m_topic.c index 8eebf45..4fb1a8f 100644 --- a/ircd/m_topic.c +++ b/ircd/m_topic.c @@ -197,6 +197,7 @@ int ms_topic(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) 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;