Skip to content

Commit

Permalink
renamed: Dehack and reinstate duplicate removal by being explicit abo…
Browse files Browse the repository at this point in the history
…ut disambiguation
  • Loading branch information
Rosuav committed Jun 16, 2024
1 parent b138f85 commit f80ed99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/renamed.pike
Original file line number Diff line number Diff line change
Expand Up @@ -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 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 group by login order by min(sighted)",
(["id": uid])))->login;
string|zero foll = await(check_following(uid, channel->userid)); //FIXME: What if no perms?
string|zero follage;
Expand Down

0 comments on commit f80ed99

Please sign in to comment.