summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-25 12:59:13 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-25 12:59:13 +0000
commitb76777dfb4d2eea9d7b223d0eb6acdd560cc1858 (patch)
treeba924f14736f0927d2313d5673af97cdae35066d
parent8e735c8f3ab15db211259d5d8436884ab33fea44 (diff)
Document SendTopic.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10707 e03df62e-2008-0410-955e-edbf42e46eb7
-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) { }