Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlauer-Hax committed Sep 3, 2023
1 parent bd5ddc2 commit 922ffe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function handleShowcaseMessage(message: Message, client: Client) {
const match = Array.from(message.content.matchAll(domainPattern));

if (match.length === 1) {
const userDomain = match[1][1];
const userDomain = match[0][1];

if (!config.bbn_domains.includes(userDomain)) {
const userIp = (await resolve([userDomain]))[0];
Expand Down

0 comments on commit 922ffe9

Please sign in to comment.