/* 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);