Update extensions for +ah.

This commit is contained in:
B.Greenham 2010-02-27 23:20:01 -05:00
parent c63f75891b
commit e2e3509129
3 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ m_findforwards(struct Client *client_p, struct Client *source_p, int parc, const
return 0;
}
if(!is_chanop(msptr))
if(!is_any_op(msptr))
{
sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),
me.name, source_p->name, parv[1]);

View File

@ -94,7 +94,7 @@ mo_omode(struct Client *client_p, struct Client *source_p, int parc, const char
msptr = find_channel_membership(chptr, source_p);
wasonchannel = msptr != NULL;
if (is_chanop(msptr))
if (is_any_op(msptr))
{
sendto_one_notice(source_p, ":Use a normal MODE you idiot");
return 0;

View File

@ -76,7 +76,7 @@ mo_opme(struct Client *client_p, struct Client *source_p, int parc, const char *
{
msptr = ptr->data;
if(is_chanop(msptr))
if(is_chanop(msptr) || is_owner(msptr))
{
sendto_one_notice(source_p, ":%s Channel is not opless", parv[1]);
return 0;