From f5db24ca3a869b18ecbcee9f7c78c13544f6b6f1 Mon Sep 17 00:00:00 2001 From: Ben Date: Sat, 4 Apr 2020 20:26:10 +0100 Subject: [PATCH] Correct requester ID column name for vanilla buddy requests --- houdini/handlers/play/buddy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/houdini/handlers/play/buddy.py b/houdini/handlers/play/buddy.py index cb74a76..80f933b 100644 --- a/houdini/handlers/play/buddy.py +++ b/houdini/handlers/play/buddy.py @@ -128,7 +128,7 @@ async def handle_buddy_request(p, buddy_id: int): buddy = p.server.penguins_by_id[buddy_id] if buddy.client_type == ClientType.Vanilla and p.id not in buddy.buddy_requests: - await buddy.buddy_requests.insert(buddy_id=p.id) + await buddy.buddy_requests.insert(requester_id=p.id) elif p.id not in buddy.legacy_buddy_requests: buddy.legacy_buddy_requests.add(p.id) else: