* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: send.c 3520 2007-06-30 22:15:35Z jilles $
*/
#include "stdinc.h"
if(IsIOError(target_p))
continue;
- if(type && ((msptr->flags & type) == 0))
+ if(type == ONLY_OPERS)
+ {
+ if(!IsOper(target_p))
+ continue;
+ }
+ else if(type && ((msptr->flags & type) == 0))
continue;
_send_linebuf(target_p, &linebuf);