summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/protocol.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-10-03 22:48:05 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-10-03 22:54:04 +0200
commit9d7352022369a04d957028515d2468297422f5e7 (patch)
treec74dd3f18610f004656944e793a93ed08284a7ba /src/net/tmwserv/protocol.h
parentc18aa95dc6b44337c4ab63d9d892af6eb1f5a679 (diff)
downloadmana-client-9d7352022369a04d957028515d2468297422f5e7.tar.gz
mana-client-9d7352022369a04d957028515d2468297422f5e7.tar.bz2
mana-client-9d7352022369a04d957028515d2468297422f5e7.tar.xz
mana-client-9d7352022369a04d957028515d2468297422f5e7.zip
Added support for the "too fast" login error
So that next time somebody encounters it, it doesn't turn up as "unknown error".
Diffstat (limited to 'src/net/tmwserv/protocol.h')
-rw-r--r--src/net/tmwserv/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/tmwserv/protocol.h b/src/net/tmwserv/protocol.h
index 1a42093e..50b20216 100644
--- a/src/net/tmwserv/protocol.h
+++ b/src/net/tmwserv/protocol.h
@@ -230,6 +230,7 @@ enum {
// Login specific return values
enum {
LOGIN_INVALID_VERSION = 0x40, // the user is using an incompatible protocol
+ LOGIN_INVALID_TIME = 0x50, // the user tried logging in too fast
LOGIN_SERVER_FULL // the server is overloaded
};