summaryrefslogtreecommitdiff
path: root/src/net/ea/adminhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/adminhandler.cpp')
-rw-r--r--src/net/ea/adminhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/ea/adminhandler.cpp b/src/net/ea/adminhandler.cpp
index 8aa0fc041..d209cc47f 100644
--- a/src/net/ea/adminhandler.cpp
+++ b/src/net/ea/adminhandler.cpp
@@ -92,4 +92,9 @@ void AdminHandler::slide(const int x, const int y) const
}
}
+void AdminHandler::spawn(const std::string &name) const
+{
+ chatHandler->talk("@spawn " + name, GENERAL_CHANNEL);
+}
+
} // namespace Ea