* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: m_opme.c 3554 2007-08-10 22:31:14Z jilles $
*/
#include "stdinc.h"
#include "channel.h"
/*
** mo_opme
-** parv[0] = sender prefix
** parv[1] = channel
*/
static int
{
msptr = ptr->data;
- if(is_chanop(msptr))
+ if(is_chanop(msptr) || is_admin(msptr))
{
sendto_one_notice(source_p, ":%s Channel is not opless", parv[1]);
return 0;