fix the build
This commit is contained in:
@@ -369,11 +369,6 @@ inline bool Client::getIsReady() const {
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
inline bool Client::isGod() const {
|
||||
// if we don't have a level in the admin table, we're a hacker or someone on a testbed that needs to rebuild
|
||||
if (m_godMode && !m_godLevel) {
|
||||
m_godLevel = AdminAccountManager::isAdminAccount(getStationId(), ConfigServerGame::getUseOldSuidGenerator());
|
||||
}
|
||||
|
||||
// likewise if we are someone on a testbed we'll just return anyway if they set god to all
|
||||
if (m_godLevel > 0 || ConfigServerGame::getAdminGodToAll()) {
|
||||
return m_godMode;
|
||||
|
||||
@@ -33,11 +33,6 @@ namespace StellaBellum {
|
||||
inline void eatIt() {
|
||||
// FUCK YOU
|
||||
for (;;) {
|
||||
pthread_kill(pthread_self(), SIGSEGV);
|
||||
::kill(0, SIGSEGV);
|
||||
::abort();
|
||||
OsNamespace::UncatchableException ex;
|
||||
throw ex;
|
||||
abort();
|
||||
sleep(10);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user