diff options
author | Philipp Sehmisch <mana@crushnet.org> | 2010-12-27 17:33:41 +0100 |
---|---|---|
committer | Philipp Sehmisch <mana@crushnet.org> | 2010-12-27 17:33:41 +0100 |
commit | a1514113093733b65e36224dad81f6867edcb93c (patch) | |
tree | 2379ed168c9de7f8f6a920dc850210246c79fc5f /src/protocol.h | |
parent | 3f559162b2e3cb0b434095d0bac297f67ff53d86 (diff) | |
download | manaserv-a1514113093733b65e36224dad81f6867edcb93c.tar.gz manaserv-a1514113093733b65e36224dad81f6867edcb93c.tar.bz2 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 'src/protocol.h')
-rw-r--r-- | src/protocol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocol.h b/src/protocol.h index 08539203..7c2e8e59 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -259,7 +259,8 @@ enum { ERRMSG_ALREADY_TAKEN, // name used was already taken ERRMSG_SERVER_FULL, // the server is overloaded ERRMSG_TIME_OUT, // data failed to arrive in due time - ERRMSG_LIMIT_REACHED // limit reached + ERRMSG_LIMIT_REACHED, // limit reached + ERRMSG_ADMINISTRATIVE_LOGOFF // kicked by server administrator }; // used in AGMSG_REGISTER_RESPONSE to show state of item db |