From 304a338d53fbb717ed8fd220848c9ee486a3c699 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Thu, 9 Aug 2007 11:46:28 +0000 Subject: Removed useless references to script header. --- src/net/connectionhandler.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/net') 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. -- cgit v1.2.3-70-g09d2