mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 19:45:11 +00:00
[ADD/FIX/WIP] Allow reverting noflys, ignore MUC DMs (for now)
This commit is contained in:
parent
5e1931a19f
commit
0facbaa5e5
6 changed files with 74 additions and 11 deletions
|
|
@ -397,10 +397,17 @@ extern void ParseeDestroyNickTable(void);
|
|||
* to ban them from rooms where Parsee has the ability to do so ("noflying").
|
||||
* ---------------
|
||||
* Returns: NOTHING
|
||||
* See-Also: ParseeManageBan
|
||||
* See-Also: ParseeManageBan, ParseeGlobalUnban
|
||||
* Modifies: the database */
|
||||
extern void ParseeGlobalBan(ParseeData *, char *user, char *reason);
|
||||
|
||||
/** Revokes a user/room/MUC's nofly status
|
||||
* ---------------
|
||||
* Returns: NOTHING
|
||||
* See-Also: ParseeManageBan, ParseeGlobalBan
|
||||
* Modifies: the database */
|
||||
extern void ParseeGlobalUnban(ParseeData *, char *user);
|
||||
|
||||
/** Verifies if a user was banned globally. If so (and if {room} is set),
|
||||
* tries to ban the user from it.
|
||||
* ---------------
|
||||
|
|
|
|||
|
|
@ -27,6 +27,10 @@ typedef struct ParseeCmdArg {
|
|||
"ban-list", CmdNoFlyList, \
|
||||
"Globally bans a user from using Parsee" \
|
||||
) \
|
||||
X_COMMAND( \
|
||||
"unban-list", CmdNoFlyListDel, \
|
||||
"Globally unbans a user from using Parsee" \
|
||||
) \
|
||||
X_COMMAND( \
|
||||
"nuke-muc", CmdUnlinkMUC, \
|
||||
"Removes a MUC. Users should then run " \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue