[ADD] Be able to set the power level of an admin

Taking over users!
This commit is contained in:
LDA 2024-06-28 23:58:23 +02:00
commit 307fe6a341
3 changed files with 69 additions and 1 deletions

View file

@ -39,6 +39,10 @@ extern char * ASSend(const ParseeConfig *, char *, char *, char *, HashMap *);
/* Sets a state event with a specific type and body */
extern void ASSetState(const ParseeConfig *conf, char *id, char *type, char *key, char *mask, HashMap *event);
/* Gets/Sets the content for a PL event */
extern HashMap *ASGetPL(const ParseeConfig *conf, char *id);
extern void ASSetPL(const ParseeConfig *conf, char *id, HashMap *m);
/* Creates a room, with a masquerade user as its creator. This function
* returns it's ID if it exists. */
extern char * ASCreateRoom(const ParseeConfig *c, char *by, char *alias);