- if (0 == strcasecmp(echannel, mn->channel->name)) {
- if (strlen(emodes) > 0) {
- if (mn->modes & MODE_CHANOP) {
- if (strstr(emodes, "@"))
- match = 1;
- }
- if (mn->modes & MODE_HALFOP) {
- if (strstr(emodes, "%"))
- match = 1;
- }
- if (mn->modes & MODE_VOICE) {
- if (strstr(emodes, "+"))
- match = 1;
- }
- } else