X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_topic.c;h=300536eaa875c616571d7bd9bfc1cdd2e46b6316;hb=80881d85337d93d70b67a505ae5178199b1b3155;hp=2b7756e64ab67342d8f8ec134930fd31e9a6bada;hpb=21adc78c56f940806a7902356f21fa52e54a76ff;p=ircu2.10.12-pk.git diff --git a/ircd/m_topic.c b/ircd/m_topic.c index 2b7756e..300536e 100644 --- a/ircd/m_topic.c +++ b/ircd/m_topic.c @@ -220,13 +220,13 @@ int ms_topic(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) /* Modeless Channels don't have topics */ if (IsModelessChannel(name)) { - /* Protocol Violation? */ + protocol_violation(sptr,"Attempted to topic modeless channel"); send_reply(sptr, ERR_CHANOPRIVSNEEDED, chptr->chname); continue; } /* Ignore requests for topics from remote servers */ if (IsLocalChannel(name) && !MyUser(sptr)) - /* Protocol Violation warning here? */ + protocol_violation(sptr,"Topic request"); continue; do_settopic(sptr,cptr,chptr,topic);