projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed ssl.c bug when ssl backend returns IO_BLOCKED but IO engine doesn't get informe...
[ircu2.10.12-pk.git]
/
ircd
/
m_invite.c
diff --git
a/ircd/m_invite.c
b/ircd/m_invite.c
index 9308007cd52b9703ea15e9ed2c0cc9afc9a5c960..2e9cc0570061bcfb82edee4e98fdedd9a23e8069 100644
(file)
--- 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;
}
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;
}
send_reply(sptr, ERR_CHANOPRIVSNEEDED, chptr->chname);
return 0;
}