summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-16 03:10:49 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-16 03:10:49 -0300
commit2d7f0ea935bc8d2123e3f6bd7eae5a53f08c95f0 (patch)
tree628ba62179a91e7148255e9dfa4aae1bf674ee73 /npc/commands
parentb056c0bcd0e8eacc319f592c30e3d7c129b960b6 (diff)
downloadserverdata-2d7f0ea935bc8d2123e3f6bd7eae5a53f08c95f0.tar.gz
serverdata-2d7f0ea935bc8d2123e3f6bd7eae5a53f08c95f0.tar.bz2
serverdata-2d7f0ea935bc8d2123e3f6bd7eae5a53f08c95f0.tar.xz
serverdata-2d7f0ea935bc8d2123e3f6bd7eae5a53f08c95f0.zip
Fix some rotten code - sorry
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/discord.txt2
1 files changed, 1 insertions, 1 deletions
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;
}