fix the typos

This commit is contained in:
DarthArgus
2017-01-04 05:08:01 +00:00
parent 43047889f7
commit b9bda4f1a7
3 changed files with 6 additions and 5 deletions

View File

@@ -68,9 +68,9 @@ public:
int connectionServerNumber;
int fakeBuddyPoints;
bool useOldSuidGenerator;
const char *altPublicBindAddress;
const bool useOldSuidGenerator;
};

View File

@@ -256,10 +256,10 @@ void ClientConnection::validateClient(const std::string &id, const std::string &
if (parent_id != child_id) {
DatabaseConnection::getInstance().upsertAccountRelationship(parent_id, child_id);
}
} else {
WARNING(true, ("Login API returned empty child account(s)."));
}
} else {
WARNING(true, ("Login API returned empty child account(s)."));
}
}
}
LOG("LoginClientConnection", ("validateClient() for stationId (%i) at IP (%s), id (%s)", user_id, getRemoteAddress().c_str(), uname.c_str()));

View File

@@ -134,6 +134,7 @@ class ConfigLoginServer
static bool getUseExternalAuth();
static const char * getExternalAuthUrl();
static bool getUseOldSuidGenerator();
// has character creation for this cluster been disabled through config option
static bool isCharacterCreationDisabled(std::string const & cluster);
@@ -487,7 +488,7 @@ inline const char * ConfigLoginServer::getExternalAuthUrl()
}
inline const bool ConfigLoginServer::getUseOldSuidGenerator()
inline bool ConfigLoginServer::getUseOldSuidGenerator()
{
return data->useOldSuidGenerator;
}