summaryrefslogtreecommitdiff
path: root/src/coremods/core_channel/core_channel.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-05-16 16:36:12 +0200
committerAttila Molnar <attilamolnar@hush.com>2015-05-16 16:36:12 +0200
commit9fc261d4cdfccacd53ab815539a93b23f3b75d73 (patch)
treeacdf91d893447acff65d92138d2850de71ed60f0 /src/coremods/core_channel/core_channel.h
parent6d5169671560a20cf0ae11300766e6de073f5b7b (diff)
cmd_topic Extract code sending RPL_TOPIC and RPL_TOPICTIME into a function
Diffstat (limited to 'src/coremods/core_channel/core_channel.h')
-rw-r--r--src/coremods/core_channel/core_channel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/coremods/core_channel/core_channel.h b/src/coremods/core_channel/core_channel.h
index d3adbc9c9..f3efa3d67 100644
--- a/src/coremods/core_channel/core_channel.h
+++ b/src/coremods/core_channel/core_channel.h
@@ -21,6 +21,11 @@
#include "inspircd.h"
+namespace Topic
+{
+ void ShowTopic(LocalUser* user, Channel* chan);
+}
+
/** Handle /INVITE.
*/
class CommandInvite : public Command