X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_invite.c;h=2e9cc0570061bcfb82edee4e98fdedd9a23e8069;hb=1f4e7a44134c06e46665441ba50ecd7d478abd4e;hp=9308007cd52b9703ea15e9ed2c0cc9afc9a5c960;hpb=c3727b053aa20cecf3984cc0c9c23b0140edf52c;p=ircu2.10.12-pk.git diff --git a/ircd/m_invite.c b/ircd/m_invite.c index 9308007..2e9cc05 100644 --- a/ircd/m_invite.c +++ b/ircd/m_invite.c @@ -159,7 +159,7 @@ int m_invite(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) return 0; } - if (!is_chan_op(sptr, chptr)) { + if (!is_chan_op(sptr, chptr) && !is_halfop(sptr, chptr)) { send_reply(sptr, ERR_CHANOPRIVSNEEDED, chptr->chname); return 0; }