aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-08-13 17:35:10 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-08-22 13:02:08 +0200
commitd2c0b4905abd895b87d5ed9b8769b1a60d692970 (patch)
tree5bc1e683747aaad3647e420729e8b97cbc505fbb /src/server.cpp
parent153f07fdfb60ddfeeb3bdb59e5f061e870334d3a (diff)
downloadminetest-d2c0b4905abd895b87d5ed9b8769b1a60d692970.tar.gz
minetest-d2c0b4905abd895b87d5ed9b8769b1a60d692970.tar.bz2
minetest-d2c0b4905abd895b87d5ed9b8769b1a60d692970.zip
Defines for server command context flags
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 1f33a66f5..fabfbc84e 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -3267,8 +3267,8 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id)
privs);
line += processServerCommand(ctx);
- send_to_sender = ctx->flags & 1;
- send_to_others = ctx->flags & 2;
+ send_to_sender = ctx->flags & SEND_TO_SENDER;
+ send_to_others = ctx->flags & SEND_TO_OTHERS;
delete ctx;
}