Update extensions for +ah.
This commit is contained in:
parent
c63f75891b
commit
e2e3509129
|
@ -72,7 +72,7 @@ m_findforwards(struct Client *client_p, struct Client *source_p, int parc, const
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!is_chanop(msptr))
|
if(!is_any_op(msptr))
|
||||||
{
|
{
|
||||||
sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),
|
sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),
|
||||||
me.name, source_p->name, parv[1]);
|
me.name, source_p->name, parv[1]);
|
||||||
|
|
|
@ -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);
|
msptr = find_channel_membership(chptr, source_p);
|
||||||
wasonchannel = msptr != NULL;
|
wasonchannel = msptr != NULL;
|
||||||
|
|
||||||
if (is_chanop(msptr))
|
if (is_any_op(msptr))
|
||||||
{
|
{
|
||||||
sendto_one_notice(source_p, ":Use a normal MODE you idiot");
|
sendto_one_notice(source_p, ":Use a normal MODE you idiot");
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -76,7 +76,7 @@ mo_opme(struct Client *client_p, struct Client *source_p, int parc, const char *
|
||||||
{
|
{
|
||||||
msptr = ptr->data;
|
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]);
|
sendto_one_notice(source_p, ":%s Channel is not opless", parv[1]);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue