summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-12 21:41:39 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-12 21:41:39 -0300
commitba5a764ee4397dd2cefc218444657c8f44a8c13a (patch)
tree8e018a57b662741ea6be86c1f99b5d9411543a76
parent34a75b3a31569578199a1d82225721710de0b065 (diff)
downloadserverdata-ba5a764ee4397dd2cefc218444657c8f44a8c13a.tar.gz
serverdata-ba5a764ee4397dd2cefc218444657c8f44a8c13a.tar.bz2
serverdata-ba5a764ee4397dd2cefc218444657c8f44a8c13a.tar.xz
serverdata-ba5a764ee4397dd2cefc218444657c8f44a8c13a.zip
Fix SQL?
-rw-r--r--npc/003-1/ship.txt2
-rw-r--r--npc/012-1/guards.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/003-1/ship.txt b/npc/003-1/ship.txt
index fc256f713..3612d702b 100644
--- a/npc/003-1/ship.txt
+++ b/npc/003-1/ship.txt
@@ -25,7 +25,7 @@ OnTouch:
L_Warp:
/* Is Hurnscald already liberated? Precendence. */
if (!$HURNS_LIBDATE) {
- query_sql("SELECT online FROM char WHERE name='Saulc GM'", .@online);
+ query_sql("SELECT online FROM `char` WHERE name='Saulc GM'", .@online);
if (is_gm())
dispbottom l("GMs are NOT allowed on Hurnscald Liberation day.");
else if (.@online)
diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt
index dee4f9d67..df0efce16 100644
--- a/npc/012-1/guards.txt
+++ b/npc/012-1/guards.txt
@@ -249,7 +249,7 @@ OnInit:
// Liberation Day Script
003-1,122,25,0 script Hurnsguard NPC_PLAYER,{
- query_sql("SELECT online FROM char WHERE name='Saulc GM'", .@online);
+ query_sql("SELECT online FROM `char` WHERE name='Saulc GM'", .@online);
if (!.@online) {
mesn;
mesq l("We are planning to take over Hurnscald from the Monster King, and we will need everybody's help.");