From d2c0b4905abd895b87d5ed9b8769b1a60d692970 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 13 Aug 2011 17:35:10 +0200 Subject: Defines for server command context flags --- src/servercommand.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/servercommand.h') diff --git a/src/servercommand.h b/src/servercommand.h index cee4976b1..15679f333 100644 --- a/src/servercommand.h +++ b/src/servercommand.h @@ -25,9 +25,11 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "player.h" #include "server.h" +#define SEND_TO_SENDER (1<<0) +#define SEND_TO_OTHERS (1<<1) + struct ServerCommandContext { - std::vector parms; std::wstring paramstring; Server* server; -- cgit v1.2.3 From da19aee307221dd2e6bdd00393124587654d0206 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 13 Aug 2011 17:37:31 +0200 Subject: Server now supports replies without prefix --- src/servercommand.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/servercommand.h') diff --git a/src/servercommand.h b/src/servercommand.h index 15679f333..648a57332 100644 --- a/src/servercommand.h +++ b/src/servercommand.h @@ -27,6 +27,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #define SEND_TO_SENDER (1<<0) #define SEND_TO_OTHERS (1<<1) +#define SEND_NO_PREFIX (1<<2) struct ServerCommandContext { -- cgit v1.2.3