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 86591606..05761506 100644
--- a/src/chat-server/chatchannelmanager.hpp
+++ b/src/chat-server/chatchannelmanager.hpp
@@ -98,6 +98,13 @@ class ChatChannelManager
void removeUserFromAllChannels(ChatClient *);
/**
+ * Set the topic of a channel.
+ *
+ * @param topic the new topic of the given channel
+ */
+ void setChannelTopic(int channelId, const std::string &name);
+
+ /**
* Returns whether a channel exists.
*
* @param channelId a channel ID