mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-14 01:55:16 +00:00
[FIX] Make codebase *slightly* NetBSD-friendly
I need to make it so that NetBSD targets get their own correctness/build checks in CI. I also had to do some hacks with Cytoplasm, will make a PR for those soon.
This commit is contained in:
parent
44d6df3be8
commit
b0cf0961a3
13 changed files with 35 additions and 25 deletions
|
|
@ -73,7 +73,7 @@ ASBan(const ParseeConfig *conf, char *id, char *banned)
|
|||
Free(path);
|
||||
json = HashMapCreate();
|
||||
HashMapSet(json, "user_id", JsonValueString(banned));
|
||||
HashMapSet(json, "reason", JsonValueString("Parsee felt jealous."));
|
||||
HashMapSet(json, "reason", JsonValueString(NAME " felt jealous."));
|
||||
ASAuthenticateRequest(conf, ctx);
|
||||
ParseeSetRequestJSON(ctx, json);
|
||||
|
||||
|
|
@ -108,7 +108,7 @@ ASKick(const ParseeConfig *conf, char *id, char *banned)
|
|||
Free(path);
|
||||
json = HashMapCreate();
|
||||
HashMapSet(json, "user_id", JsonValueString(banned));
|
||||
HashMapSet(json, "reason", JsonValueString("Parsee felt jealous."));
|
||||
HashMapSet(json, "reason", JsonValueString(NAME " felt jealous."));
|
||||
ASAuthenticateRequest(conf, ctx);
|
||||
ParseeSetRequestJSON(ctx, json);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue