X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/73788f79538ecea791077aaca3257f776f6abf05..987ef7eb1f6c6e6bfb79fc0e7759702ff372ac7a:/modules/m_topic.c diff --git a/modules/m_topic.c b/modules/m_topic.c index a69a99e..7e6206e 100644 --- a/modules/m_topic.c +++ b/modules/m_topic.c @@ -53,7 +53,6 @@ DECLARE_MODULE_AV1(topic, NULL, NULL, topic_clist, NULL, NULL, "$Revision: 254 $ /* * m_topic - * parv[0] = sender prefix * parv[1] = channel name * parv[2] = new topic, if setting topic */ @@ -134,7 +133,8 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char * } else sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED), - me.name, source_p->name, name); + get_id(&me, source_p), + get_id(source_p, source_p), name); } else if(MyClient(source_p)) { @@ -166,7 +166,6 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char * /* * ms_topic - * parv[0] = sender prefix * parv[1] = channel name * parv[2] = topic_info * parv[3] = topic_info time