mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10577] 'shuttingdown' -> 'shutting down' in log
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
2c38016459
commit
1e9b405b7a
2 changed files with 3 additions and 3 deletions
|
|
@ -1820,7 +1820,7 @@ void World::ShutdownMsg(bool show, Player* player)
|
||||||
ServerMessageType msgid = (m_ShutdownMask & SHUTDOWN_MASK_RESTART) ? SERVER_MSG_RESTART_TIME : SERVER_MSG_SHUTDOWN_TIME;
|
ServerMessageType msgid = (m_ShutdownMask & SHUTDOWN_MASK_RESTART) ? SERVER_MSG_RESTART_TIME : SERVER_MSG_SHUTDOWN_TIME;
|
||||||
|
|
||||||
SendServerMessage(msgid,str.c_str(),player);
|
SendServerMessage(msgid,str.c_str(),player);
|
||||||
DEBUG_LOG("Server is %s in %s",(m_ShutdownMask & SHUTDOWN_MASK_RESTART ? "restart" : "shuttingdown"),str.c_str());
|
DEBUG_LOG("Server is %s in %s",(m_ShutdownMask & SHUTDOWN_MASK_RESTART ? "restart" : "shutting down"),str.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1838,7 +1838,7 @@ void World::ShutdownCancel()
|
||||||
m_ExitCode = SHUTDOWN_EXIT_CODE; // to default value
|
m_ExitCode = SHUTDOWN_EXIT_CODE; // to default value
|
||||||
SendServerMessage(msgid);
|
SendServerMessage(msgid);
|
||||||
|
|
||||||
DEBUG_LOG("Server %s cancelled.",(m_ShutdownMask & SHUTDOWN_MASK_RESTART ? "restart" : "shuttingdown"));
|
DEBUG_LOG("Server %s cancelled.",(m_ShutdownMask & SHUTDOWN_MASK_RESTART ? "restart" : "shutting down"));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Send a server message to the user(s)
|
/// Send a server message to the user(s)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10576"
|
#define REVISION_NR "10577"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue