summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index a02a97498..76d94886c 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -869,4 +869,16 @@ impHandler(commandHomunEmote)
#endif
}
+impHandler(createPublicChatRoom)
+{
+#ifdef EATHENA_SUPPORT
+ if (event.args.empty())
+ return false;
+ chatHandler->createChatRoom(event.args, "", 100, true);
+ return true;
+#else
+ return false;
+#endif
+}
+
} // namespace Actions