X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/7cdb0a09b9ba217d30d6e8c35654dc9cc6e3ae57..8bd5767b953efd089e0467b02f897f77581e589d:/modules/m_topic.c diff --git a/modules/m_topic.c b/modules/m_topic.c index e63f3e42..fb558fb1 100644 --- a/modules/m_topic.c +++ b/modules/m_topic.c @@ -25,7 +25,6 @@ */ #include "stdinc.h" -#include "tools.h" #include "channel.h" #include "client.h" #include "hash.h" @@ -104,7 +103,7 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char * char topic_info[USERHOST_REPLYLEN]; rb_sprintf(topic_info, "%s!%s@%s", source_p->name, source_p->username, source_p->host); - set_channel_topic(chptr, parv[2], topic_info, CurrentTime); + set_channel_topic(chptr, parv[2], topic_info, rb_current_time()); sendto_server(client_p, chptr, CAP_TS6, NOCAPS, ":%s TOPIC %s :%s",