mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:25:11 +00:00
[ADD] MUC whitelists, part II
This commit is contained in:
parent
af2d08a431
commit
0b00a665bf
5 changed files with 48 additions and 3 deletions
|
|
@ -24,7 +24,8 @@ CommandHead(CmdPlumb, cmd, argp)
|
|||
BotRequired(room);
|
||||
|
||||
/* Check MUC viability */
|
||||
if (ParseeManageBan(args->data, muc, NULL))
|
||||
if (ParseeManageBan(args->data, muc, NULL) ||
|
||||
ParseeIsMUCWhitelisted(args->data, muc))
|
||||
{
|
||||
ReplySprintf("MUC '%s' is not allowed on this bridge.", muc);
|
||||
goto end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue