I have searched for a solution to this but were unable to find what i needed. I have a channel that is set to moderated auditorium mode +mu which allows ops to see questions made by users.
What i would like to remove is the error that is thrown up by the server when this mode is activated as it will be very annoying for the channel users to see that error every time they ask a question.
On line 261 of src/modules/m_message.c I see the string "You need voice (+v)", which is part of the err_cantsend array but I don't see where this is used in that file.14:50:43 <nick> [09:47] -!- #channel You need voice (+v) (#channel)
I believe it's to do with this block of code starting at line 541 but i'm a bit lost as to what to change it to.
Code: Select all
if (MyClient(sptr))
{
if (!notice || (cansend == 8)) /* privmsg or 'cannot send notice'... */
sendto_one(sptr, err_str(ERR_CANNOTSENDTOCHAN),
me.name, parv[0], chptr->chname,
err_cantsend[cansend - 1], p2);
}
Thanks in advance.
^DooM^