Adjust logging in command_time

This commit is contained in:
Akkadius 2015-01-24 04:27:32 -06:00
parent d7a2387f3d
commit 50ccb52465

View File

@ -4372,6 +4372,7 @@ void command_time(Client *c, const Seperator *sep)
} }
c->Message(13, "Setting world time to %s:%i (Timezone: 0)...", sep->arg[1], minutes); c->Message(13, "Setting world time to %s:%i (Timezone: 0)...", sep->arg[1], minutes);
zone->SetTime(atoi(sep->arg[1])+1, minutes); zone->SetTime(atoi(sep->arg[1])+1, minutes);
Log.Out(Logs::General, Logs::Zone_Server, "%s :: Setting world time to %s:%i (Timezone: 0)...", c->GetCleanName(), sep->arg[1], minutes);
} }
else { else {
c->Message(13, "To set the Time: #time HH [MM]"); c->Message(13, "To set the Time: #time HH [MM]");
@ -4386,9 +4387,7 @@ void command_time(Client *c, const Seperator *sep)
zone->zone_time.getEQTimeZoneMin() zone->zone_time.getEQTimeZoneMin()
); );
c->Message(13, "It is now %s.", timeMessage); c->Message(13, "It is now %s.", timeMessage);
#if EQDEBUG >= 11 Log.Out(Logs::General, Logs::Zone_Server, "Current Time is: %s", timeMessage);
Log.LogDebug(Logs::General,"Recieved timeMessage:%s", timeMessage);
#endif
} }
} }