summaryrefslogtreecommitdiff
path: root/src/defines.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-31 10:02:36 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-31 10:02:36 +0000
commit60f60de8aefeebd1de0bf6c940558902226d7747 (patch)
treeed3a5b3f9f721d559d29f872073bc293a66a99d0 /src/defines.h
parente681c0024c1db3f93c501a0a9600371440986674 (diff)
downloadmanaserv-60f60de8aefeebd1de0bf6c940558902226d7747.tar.gz
manaserv-60f60de8aefeebd1de0bf6c940558902226d7747.tar.bz2
manaserv-60f60de8aefeebd1de0bf6c940558902226d7747.tar.xz
manaserv-60f60de8aefeebd1de0bf6c940558902226d7747.zip
Plugged several account leaks on error. Prevented banned players from logging in.
Diffstat (limited to 'src/defines.h')
-rw-r--r--src/defines.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/defines.h b/src/defines.h
index fff197c5..cf1db301 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -270,7 +270,8 @@ enum {
// Login specific return values
enum {
LOGIN_INVALID_VERSION = 0x40, // the user is using an incompatible protocol
- LOGIN_SERVER_FULL // the server is overloaded
+ LOGIN_SERVER_FULL, // the server is overloaded
+ LOGIN_BANNED // the user is currently banned
};
// Account register specific return values