From b138f85bf75ab6ffc3b2d00bb3ed347b402aaab2 Mon Sep 17 00:00:00 2001 From: Chris Angelico Date: Sun, 16 Jun 2024 09:48:00 +1000 Subject: [PATCH] renamed: Undistinct. Good enough I hope. --- modules/renamed.pike | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/renamed.pike b/modules/renamed.pike index ef19866b..deed549c 100644 --- a/modules/renamed.pike +++ b/modules/renamed.pike @@ -68,7 +68,7 @@ __async__ mapping message_params(object channel, mapping person, array param) { } int uid; catch {uid = await(get_user_id(user));}; if (!uid) error("Can't find that person.\n"); - array names = await(G->G->DB->query_ro("select distinct login from stillebot.user_login_sightings where twitchid = :id order by sighted", + array names = await(G->G->DB->query_ro("select login from stillebot.user_login_sightings where twitchid = :id order by sighted", (["id": uid])))->login; string|zero foll = await(check_following(uid, channel->userid)); //FIXME: What if no perms? string|zero follage;