bind mode - "* +v" moderate:check
proc moderate:check {nick uhost hand chan mod vict} {
if {$vict == $::botnick} {return 0}
if {[getchanmode $chan] == "*m*"} {return 0}
putserv "MODE $chan -v $vict"
putserv "NOTICE $nick :voice is only used when the channel is moderated"
}
this code is supposed to not devoice the victim if the channel is moderated (+m), but it doesn'y work, so how to make it see if the channel has +m in its modes?