summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 16:48:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 16:48:18 +0300
commitdf22a0dfb16eeeadb90ef9944c97b5d49303a306 (patch)
treef93b396aa697c4ae29d63886656185af7c203a61 /src/net
parent06b7293d0f6b5dab909f108ce9dd38488d8ac48b (diff)
downloadmanaverse-df22a0dfb16eeeadb90ef9944c97b5d49303a306.tar.gz
manaverse-df22a0dfb16eeeadb90ef9944c97b5d49303a306.tar.bz2
manaverse-df22a0dfb16eeeadb90ef9944c97b5d49303a306.tar.xz
manaverse-df22a0dfb16eeeadb90ef9944c97b5d49303a306.zip
Move gotoName from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/adminhandler.cpp5
-rw-r--r--src/net/ea/adminhandler.h2
-rw-r--r--src/net/eathena/adminhandler.cpp4
-rw-r--r--src/net/eathena/adminhandler.h2
-rw-r--r--src/net/tmwa/adminhandler.cpp5
-rw-r--r--src/net/tmwa/adminhandler.h2
6 files changed, 13 insertions, 7 deletions
diff --git a/src/net/ea/adminhandler.cpp b/src/net/ea/adminhandler.cpp
index a995594d2..700aadbed 100644
--- a/src/net/ea/adminhandler.cpp
+++ b/src/net/ea/adminhandler.cpp
@@ -67,11 +67,6 @@ void AdminHandler::mute(const int playerId A_UNUSED, const int type A_UNUSED,
return;
}
-void AdminHandler::gotoName(const std::string &name) const
-{
- Net::getChatHandler()->talk("@goto " + name, GENERAL_CHANNEL);
-}
-
void AdminHandler::recallName(const std::string &name) const
{
Net::getChatHandler()->talk("@recall " + name, GENERAL_CHANNEL);
diff --git a/src/net/ea/adminhandler.h b/src/net/ea/adminhandler.h
index 1762ff665..86582ee9e 100644
--- a/src/net/ea/adminhandler.h
+++ b/src/net/ea/adminhandler.h
@@ -54,8 +54,6 @@ class AdminHandler notfinal : public Net::AdminHandler
virtual void mute(const int playerId, const int type,
const int limit) const override final;
- void gotoName(const std::string &name) const;
-
void recallName(const std::string &name) const override final;
void reviveName(const std::string &name) const override final;
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index 10d573cf8..f470753e9 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -122,4 +122,8 @@ void AdminHandler::resetSkills() const
outMsg.writeInt16(1, "flag");
}
+void AdminHandler::gotoName(const std::string &name) const
+{
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/adminhandler.h b/src/net/eathena/adminhandler.h
index 7c8f3d650..c0209324a 100644
--- a/src/net/eathena/adminhandler.h
+++ b/src/net/eathena/adminhandler.h
@@ -55,6 +55,8 @@ class AdminHandler final : public MessageHandler, public Ea::AdminHandler
void resetStats() const override final;
void resetSkills() const override final;
+
+ void gotoName(const std::string &name) const override final;
};
} // namespace EAthena
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp
index a227652be..f24b05b24 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -117,4 +117,9 @@ void AdminHandler::resetSkills() const
{
}
+void AdminHandler::gotoName(const std::string &name) const
+{
+ Net::getChatHandler()->talk("@goto " + name, GENERAL_CHANNEL);
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h
index ac11e7c34..5b277bf62 100644
--- a/src/net/tmwa/adminhandler.h
+++ b/src/net/tmwa/adminhandler.h
@@ -55,6 +55,8 @@ class AdminHandler final : public MessageHandler, public Ea::AdminHandler
void resetStats() const override final;
void resetSkills() const override final;
+
+ void gotoName(const std::string &name) const override final;
};
} // namespace TmwAthena