Polishing shared memory hotfix code

This commit is contained in:
KimLS
2015-06-23 22:04:48 -07:00
parent 67143f1b8a
commit 3dd89b0daa
4 changed files with 50 additions and 13 deletions
+3 -1
View File
@@ -297,7 +297,9 @@ int main(int argc, char** argv) {
char hotfix_name[256] = { 0 };
if(database.GetVariable("hotfix_name", hotfix_name, 256)) {
Log.Out(Logs::General, Logs::Zone_Server, "Current hotfix in use: %s", hotfix_name);
if(strlen(hotfix_name) > 0) {
Log.Out(Logs::General, Logs::Zone_Server, "Current hotfix in use: '%s'", hotfix_name);
}
}
Log.Out(Logs::General, Logs::World_Server, "Loading zones..");