aboutsummaryrefslogtreecommitdiff
path: root/src/query.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/query.cc')
-rw-r--r--src/query.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/query.cc b/src/query.cc
index 003892c..c9b47aa 100644
--- a/src/query.cc
+++ b/src/query.cc
@@ -711,6 +711,7 @@ int TQueryManagerConnection::loginGame(uint32 AccountID, char *PlayerName,
}
int NumberOfRights = this->getByte();
+ memset(Rights, 0, 12); // MAX_RIGHT_BYTES ?
for(int i = 0; i < NumberOfRights; i += 1){
char RightName[30];
this->getString(RightName, 30);