summaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/protocol.h b/include/protocol.h
index f78d52928..4d87f8a2c 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -58,6 +58,10 @@ class ProtocolInterface : public Extensible
*/
virtual void SendMetaData(void* target, int type, const std::string &key, const std::string &data) { }
+ /** Send a topic change for a channel
+ * @param channel The channel to change the topic for.
+ * @param topic The new topic to use for the channel.
+ */
virtual void SendTopic(Channel* channel, std::string &topic) { }
virtual void SendMode(const std::string &target, parameterlist &modedata) { }