diff options
| author | StormBytePP <stormbyte@gmail.com> | 2015-09-21 15:09:41 +0200 |
|---|---|---|
| committer | StormBytePP <stormbyte@gmail.com> | 2015-09-21 15:11:06 +0200 |
| commit | 7b245a0b6b9902ebea98d2a945d4ee0e26a62681 (patch) | |
| tree | a30ef097011505ac095c267fc2f667fadac409bd /src/server/authserver | |
| parent | ff71da2b05210c1d0ed088ef12b06bf4632ff830 (diff) | |
Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert
Diffstat (limited to 'src/server/authserver')
| -rw-r--r-- | src/server/authserver/Realms/RealmList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/authserver/Realms/RealmList.cpp b/src/server/authserver/Realms/RealmList.cpp index 59cb2392063..f5461d5f42e 100644 --- a/src/server/authserver/Realms/RealmList.cpp +++ b/src/server/authserver/Realms/RealmList.cpp @@ -145,7 +145,7 @@ void RealmList::UpdateRealms(bool init) catch (std::exception& ex) { TC_LOG_ERROR("server.authserver", "Realmlist::UpdateRealms has thrown an exception: %s", ex.what()); - ASSERT(false); + ABORT(); } } while (result->NextRow()); |
