aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2009-03-24 13:22:07 +0100
committerXTZGZoReX <none@none>2009-03-24 13:22:07 +0100
commit94d5f206d94fac7532f1921f7faf58c2996a2f4d (patch)
tree5bfdd4201824e220a7e7fdd402bcc84ed0a28522 /sql
parente4bf94fbb675667912ef83a08835d555137645b9 (diff)
* Fixed wp command.
* Fixed 2131_world.sql - if you have already applied the older version of this, don't worry. 2160_world.sql contains the fixed lines too. --HG-- branch : trunk
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/2131_world.sql2
-rw-r--r--sql/updates/2160_world.sql3
2 files changed, 4 insertions, 1 deletions
diff --git a/sql/updates/2131_world.sql b/sql/updates/2131_world.sql
index 76fb0b69c52..db0f517e61e 100644
--- a/sql/updates/2131_world.sql
+++ b/sql/updates/2131_world.sql
@@ -1,4 +1,4 @@
-DELETE FROM `command` WHERE `name` IN ('server difftime', 'npc tempadd', 'gobject tempadd', '');
+DELETE FROM `command` WHERE `name` IN ('server difftime', 'npc addtemp', 'gobject addtemp', '');
INSERT INTO `command` VALUES
('gobject tempadd','2','Adds a temporary gameobject that is not saved to DB.'),
('npc tempadd','2','Adds temporary NPC, not saved to database.');
diff --git a/sql/updates/2160_world.sql b/sql/updates/2160_world.sql
new file mode 100644
index 00000000000..a4b308d60cb
--- /dev/null
+++ b/sql/updates/2160_world.sql
@@ -0,0 +1,3 @@
+DELETE FROM command WHERE name LIKE "ahbotoption %";
+DELETE FROM command WHERE name LIKE "ahbotoptions %";
+DELETE FROM command WHERE name IN ('gobject addtemp','npc addtemp'); \ No newline at end of file