summaryrefslogtreecommitdiff
path: root/src/net/manaserv/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv/connection.h')
-rw-r--r--src/net/manaserv/connection.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/manaserv/connection.h b/src/net/manaserv/connection.h
index e6646e0e..dfd45e31 100644
--- a/src/net/manaserv/connection.h
+++ b/src/net/manaserv/connection.h
@@ -25,8 +25,6 @@
#include <enet/enet.h>
#include "net/manaserv/network.h"
-#include <iosfwd>
-
namespace ManaServ
{
class MessageOut;
@@ -49,7 +47,7 @@ namespace ManaServ
* This method is non-blocking, use isConnected to check whether the
* server is connected.
*/
- bool connect(const std::string &address, short port);
+ bool connect(const std::string &address, enet_uint16 port);
/**
* Disconnects from the given server.