From 55695eda786667a34d6c0ae59496d787dfba4b3e Mon Sep 17 00:00:00 2001
From: XTZGZoReX <none@none>
Date: Sat, 21 Mar 2009 13:51:28 +0100
Subject: * Implement ".server set closed on/off" command to allow/deny new
 connections to the world.

--HG--
branch : trunk
---
 sql/updates/2064_world.sql | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 sql/updates/2064_world.sql

(limited to 'sql/updates/2064_world.sql')

diff --git a/sql/updates/2064_world.sql b/sql/updates/2064_world.sql
new file mode 100644
index 00000000000..02ac8a54632
--- /dev/null
+++ b/sql/updates/2064_world.sql
@@ -0,0 +1,7 @@
+DELETE FROM trinity_string WHERE entry IN(7523,7524);
+INSERT INTO trinity_string VALUES
+(7523,'WORLD: Denying connections.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(7523,'WORLD: Accepting connections.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+
+DELETE FROM command WHERE name IN('server set closed');
+INSERT INTO command VALUES ('server set closed', 3, 'Syntax: server set closed on/off\r\n\r\nSets whether the world accepts new client connectsions.');
-- 
cgit v1.2.3

