1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Added message of the day and made it properly configurable using /#setting (not saved to config file yet)

This commit is contained in:
Perttu Ahola 2011-07-30 19:31:33 +03:00
parent 4b0c3e4357
commit 9b294ffa7a
5 changed files with 65 additions and 3 deletions

View file

@ -29,6 +29,7 @@ struct ServerCommandContext
{
std::vector<std::wstring> parms;
std::wstring paramstring;
Server* server;
ServerEnvironment *env;
Player* player;
@ -39,11 +40,13 @@ struct ServerCommandContext
ServerCommandContext(
std::vector<std::wstring> parms,
std::wstring paramstring,
Server* server,
ServerEnvironment *env,
Player* player,
u64 privs)
: parms(parms), server(server), env(env), player(player), privs(privs)
: parms(parms), paramstring(paramstring),
server(server), env(env), player(player), privs(privs)
{
}