projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When IAuth provides creation timestamp, exclude it from the name.
[ircu2.10.12-pk.git]
/
ircd
/
m_topic.c
diff --git
a/ircd/m_topic.c
b/ircd/m_topic.c
index 8eebf458c1407eec5ed3b9ff8cf8c044b20955cd..4fb1a8f0d0384ecff1da3e9a2b6fc461f84e3738 100644
(file)
--- 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;