diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/connectionhandler.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/net/connectionhandler.cpp b/src/net/connectionhandler.cpp index 6de1835e..b7d3b692 100644 --- a/src/net/connectionhandler.cpp +++ b/src/net/connectionhandler.cpp @@ -27,10 +27,6 @@ #include "net/netcomputer.hpp" #include "utils/logger.h" -#ifdef SCRIPT_SUPPORT -#include "script.h" -#endif - bool ConnectionHandler::startListen(enet_uint16 port) { // Bind the server to the default localhost. @@ -96,15 +92,6 @@ void ConnectionHandler::process(enet_uint32 timeout) { NetComputer *comp = (NetComputer*) event.peer->data; -#ifdef SCRIPT_SUPPORT - // This could be good if you wanted to extend the - // server protocol using a scripting language. This - // could be attained by using allowing scripts to - // "hook" certain messages. - - //script->message(buffer); -#endif - // If the scripting subsystem didn't hook the message // it will be handled by the default message handler. |