summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorPhilipp Sehmisch <mana@crushnet.org>2010-12-27 17:33:41 +0100
committerPhilipp Sehmisch <mana@crushnet.org>2010-12-27 17:33:41 +0100
commita1514113093733b65e36224dad81f6867edcb93c (patch)
tree2379ed168c9de7f8f6a920dc850210246c79fc5f /example
parent3f559162b2e3cb0b434095d0bac297f67ff53d86 (diff)
downloadmanaserv-a1514113093733b65e36224dad81f6867edcb93c.tar.gz
manaserv-a1514113093733b65e36224dad81f6867edcb93c.tar.xz
manaserv-a1514113093733b65e36224dad81f6867edcb93c.zip
Transaction logging of various command, new transaction codes and style fix.
The @mute, @goto, @attribute and @announce commands now logs transactions to the database. Added new transaction codes to database. I've preliminarily added a lot of codes for not yet supported commands so that we needn't do a database update with every single commit which implements one. Also using the equivalent "say" helper function in place of the "GameState::sayTo" method in the command handler. Reviewed-by: Kage
Diffstat (limited to 'example')
-rw-r--r--example/serverdata/permissions.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/serverdata/permissions.xml b/example/serverdata/permissions.xml
index 3f75995..52f9aca 100644
--- a/example/serverdata/permissions.xml
+++ b/example/serverdata/permissions.xml
@@ -28,6 +28,8 @@
<allow>@ban</allow>
<allow>@mute</allow>
<allow>@history</allow>
+ <allow>@kick</allow>
+ <allow>@kill</allow>
</class>
<class level="5">
</class>