[MOD] Wow, it can save the world!

This commit is contained in:
LDA 2024-08-18 10:13:07 +02:00
commit c0c13883d1
2 changed files with 1 additions and 3 deletions

View file

@ -262,9 +262,6 @@ ParseeMessageHandler(ParseeData *data, HashMap *event)
chat_id = ParseeGetFromRoomID(data, id); chat_id = ParseeGetFromRoomID(data, id);
/* TODO: This ref should be marked as read-only,
* as LMDB doesn't seem to like having two concurrent RW
* transactions running. */
ref = DbLockIntent(data->db, DB_HINT_READONLY, 3, "rooms", id, "data"); ref = DbLockIntent(data->db, DB_HINT_READONLY, 3, "rooms", id, "data");
json = DbJson(ref); json = DbJson(ref);
direct = JsonValueAsBoolean(HashMapGet(json, "is_direct")); direct = JsonValueAsBoolean(HashMapGet(json, "is_direct"));

View file

@ -41,6 +41,7 @@ GetRandomQuote(void)
"We truly live in a " CODE "...", "We truly live in a " CODE "...",
"You truly lack the Desire Drive for this!", "You truly lack the Desire Drive for this!",
"Eeh? Bifrost mode? Only bad servers use Bifrost mode!", "Eeh? Bifrost mode? Only bad servers use Bifrost mode!",
"'Wow parsee can save the world' - said a wise guy",
"As small as a dwarf, and can run on your pie!", "As small as a dwarf, and can run on your pie!",
"It's all wicked unsafe, memory slow 🚀🚀🚀🚀", "It's all wicked unsafe, memory slow 🚀🚀🚀🚀",