mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-23 23:12:25 +00:00
Adjust logging in command_time
This commit is contained in:
parent
d7a2387f3d
commit
50ccb52465
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user