From 2d7f0ea935bc8d2123e3f6bd7eae5a53f08c95f0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 16 May 2021 03:10:49 -0300 Subject: Fix some rotten code - sorry --- npc/commands/discord.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npc/commands/discord.txt b/npc/commands/discord.txt index 21e675a45..98786bcfe 100644 --- a/npc/commands/discord.txt +++ b/npc/commands/discord.txt @@ -50,7 +50,7 @@ OnCall: // Only do SQL query if not in cache .@nb = query_sql("select `discord_name` from `discord` WHERE `account_id`='"+getcharid(3)+"' limit 1", .@discord$); // Override default behavior - if (.@discord$ == "") { + if (.@discord$ == "" || .@discord$ == "Not found") { .@discord$="Not Linked"; .@link=false; } -- cgit v1.2.3-60-g2f50