summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r--src/net/eathena/loginhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp
index 79e75be2b..a7bcd5406 100644
--- a/src/net/eathena/loginhandler.cpp
+++ b/src/net/eathena/loginhandler.cpp
@@ -50,7 +50,7 @@ LoginHandler::~LoginHandler()
{
}
-void LoginHandler::connect()
+void LoginHandler::connect() const
{
if (!Network::mInstance)
return;
@@ -75,7 +75,7 @@ bool LoginHandler::isConnected() const
return Network::mInstance->isConnected();
}
-void LoginHandler::disconnect()
+void LoginHandler::disconnect() const
{
if (Network::mInstance && Network::mInstance->getServer() == mServer)
Network::mInstance->disconnect();