Polishing shared memory hotfix code

This commit is contained in:
KimLS committed 2015-06-23 22:04:48 -07:00
1 parent 67143f1b8a
commit 3dd89b0daa
4 files changed
+50 -13

No files matched your search

+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..");