summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-09 11:46:28 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-09 11:46:28 +0000
commit304a338d53fbb717ed8fd220848c9ee486a3c699 (patch)
tree59dddb3caad75bd7001786e5ea2d5b721e7af19f /src/net
parentf9f87106db18980a7b38dd263820e298d052fa77 (diff)
downloadmanaserv-304a338d53fbb717ed8fd220848c9ee486a3c699.tar.gz
manaserv-304a338d53fbb717ed8fd220848c9ee486a3c699.tar.bz2
manaserv-304a338d53fbb717ed8fd220848c9ee486a3c699.tar.xz
manaserv-304a338d53fbb717ed8fd220848c9ee486a3c699.zip
Removed useless references to script header.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/connectionhandler.cpp13
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.