summaryrefslogtreecommitdiff
path: root/src/chat-server/chatchannelmanager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chat-server/chatchannelmanager.hpp')
-rw-r--r--src/chat-server/chatchannelmanager.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/chat-server/chatchannelmanager.hpp b/src/chat-server/chatchannelmanager.hpp
index 05761506..a0342d84 100644
--- a/src/chat-server/chatchannelmanager.hpp
+++ b/src/chat-server/chatchannelmanager.hpp
@@ -58,6 +58,13 @@ class ChatChannelManager
bool joinable);
/**
+ * Try to create a new public channel with the given name.
+ *
+ * @return true if created successfully, false otherwise.
+ */
+ bool tryNewPublicChannel(const std::string &name);
+
+ /**
* Remove a channel.
*/
bool removeChannel(int channelId);