ircd: get_channel_access(): do not derive channel pointer from membership
This commit is contained in:
parent
633531a4aa
commit
3ee43bcf29
5 changed files with 10 additions and 10 deletions
|
@ -114,7 +114,7 @@ m_remove(struct Client *client_p, struct Client *source_p, int parc, const char
|
|||
return 0;
|
||||
}
|
||||
|
||||
if(get_channel_access(source_p, msptr, MODE_ADD, NULL) < CHFL_CHANOP)
|
||||
if(get_channel_access(source_p, chptr, msptr, MODE_ADD, NULL) < CHFL_CHANOP)
|
||||
{
|
||||
if(MyConnect(source_p))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue