diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2008-11-20 22:23:54 +0100 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2008-11-20 22:23:54 +0100 |
commit | 7f4209d5b5c0f0f8d02d664365be9a8c605b95d9 (patch) | |
tree | f96a116f953b7c585bc457e86c8e025143e313fa /src/net/connectionhandler.cpp | |
parent | d9189cba9db278b20c07bcb31ae481ad9804aaa5 (diff) | |
parent | 4c67ba28360338e376be3f7fd990f3895054a455 (diff) | |
download | manaserv-7f4209d5b5c0f0f8d02d664365be9a8c605b95d9.tar.gz manaserv-7f4209d5b5c0f0f8d02d664365be9a8c605b95d9.tar.bz2 manaserv-7f4209d5b5c0f0f8d02d664365be9a8c605b95d9.tar.xz manaserv-7f4209d5b5c0f0f8d02d664365be9a8c605b95d9.zip |
Merge branch 'master' of git@gitorious.org:tmwserv/mainline
Diffstat (limited to 'src/net/connectionhandler.cpp')
-rw-r--r-- | src/net/connectionhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/connectionhandler.cpp b/src/net/connectionhandler.cpp index dd1828ac..3f3bb72a 100644 --- a/src/net/connectionhandler.cpp +++ b/src/net/connectionhandler.cpp @@ -23,6 +23,7 @@ #include "net/connectionhandler.hpp" #include "defines.h" +#include "net/bandwidth.hpp" #include "net/messagein.hpp" #include "net/messageout.hpp" #include "net/netcomputer.hpp" @@ -104,7 +105,7 @@ void ConnectionHandler::process(enet_uint32 timeout) LOG_DEBUG("Received message " << msg << " from " << *comp); - comp->increaseIn(event.packet->dataLength); + gBandwidth->increaseClientInput(comp, event.packet->dataLength); processMessage(comp, msg); } else { |