summaryrefslogtreecommitdiff
path: root/src/net/eathena/adminhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r--src/net/eathena/adminhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index cc1465ee0..d80cf3171 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -337,4 +337,9 @@ void AdminHandler::npcMove(const std::string &name,
name.c_str()));
}
+void AdminHandler::hideNpc(const std::string &name) const
+{
+ Gm::runCommand("hidenpc", name);
+}
+
} // namespace EAthena