aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaymoira <none@none>2008-12-22 22:05:04 +0100
committerBlaymoira <none@none>2008-12-22 22:05:04 +0100
commit8668244a6d57bb04aaebeda13f87547cabe20efc (patch)
tree6c26ec79a97b1a398ea5739aaf7139ccd576a439
parent3877313e4d9d10d394a5952a8a39ff5e75c404f4 (diff)
*Missed a row change and added missing sql
--HG-- branch : trunk
-rw-r--r--sql/updates/588_world.sql7
-rw-r--r--src/game/Level3.cpp2
2 files changed, 8 insertions, 1 deletions
diff --git a/sql/updates/588_world.sql b/sql/updates/588_world.sql
new file mode 100644
index 00000000000..e85a034f344
--- /dev/null
+++ b/sql/updates/588_world.sql
@@ -0,0 +1,7 @@
+DELETE FROM `trinity_string`WHERE `entry` in ('6613', '6614', '6615');
+INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES ('6613','|cfff00000[GM Announcement]: %s|r');
+INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES ('6614','Notification to GM\'s - ');
+INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES ('6615','|cffffff00[|c1f40af20GM Announce by|r |cffff0000%s|cffffff00]:|r %s|r');
+INSERT INTO `command` (`name`,`security`,`help`) VALUES ('gmnotify', 2, 'Syntax: .gmnotify $notification\r\nDisplays a notification on the screen of all online GM\'s.');
+INSERT INTO `command` (`name`,`security`,`help`) VALUES ('gmnameannounce', 2, 'Syntax: .gmnameannounce $announcement.\r\nSend an announcement to all online GM\'s, displaying the name of the sender.');
+INSERT INTO `command` (`name`,`security`,`help`) VALUES ('gmannounce', 4, 'Syntax: .gmannounce $announcement\r\nSend an announcement to online Gamemasters.'); \ No newline at end of file
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index f8bcce11608..c507df4c858 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -558,7 +558,7 @@ bool ChatHandler::HandleReloadWpScriptsCommand(const char* arg)
objmgr.LoadWaypointScripts();
if(*arg!='a')
- SendGlobalSysMessage("DB table `waypoint_scripts` reloaded.");
+ SendGlobalGMSysMessage("DB table `waypoint_scripts` reloaded.");
return true;
}