X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/8aabb973c04d3bf2b9bf121544dc47e20b9d7d4e..b2c208be091670e3c5259eba77187bae6ac6eece:/modules/m_topic.c?ds=sidebyside diff --git a/modules/m_topic.c b/modules/m_topic.c index b175612e..9effb2ab 100644 --- a/modules/m_topic.c +++ b/modules/m_topic.c @@ -118,7 +118,7 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char * } if(((chptr->mode.mode & MODE_TOPICLIMIT) == 0 || - get_channel_access(source_p, msptr, CHANROLE_TOPIC) >= CHFL_CHANOP) && + get_channel_access(source_p, msptr) >= CHFL_CHANOP) && (!MyClient(source_p) || can_send(chptr, source_p, msptr))) { @@ -163,7 +163,8 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char * sendto_one(source_p, form_str(RPL_TOPICWHOTIME), me.name, source_p->name, chptr->chname, - chptr->topic_info, chptr->topic_time); + chptr->topic_info, + (unsigned long)chptr->topic_time); } }