summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-03-05 16:41:24 +0100
committerAttila Molnar <attilamolnar@hush.com>2016-03-05 16:41:24 +0100
commit0586ec9baa7961240e0eab5b27d7823a9d465704 (patch)
treee8c87edd8b1fa10c5110227a8f7d1c6922adeb12 /include/channels.h
parent33d0a3b53a7bb8d2f13aac9ed2f81cde4dbbb4ff (diff)
Add Channel::WriteNotice()
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h
index 0cf477f22..0a131ddb3 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -332,6 +332,11 @@ class CoreExport Channel : public Extensible
/** Get the status of an "action" type extban
*/
ModResult GetExtBanStatus(User *u, char type);
+
+ /** Write a NOTICE to all local users on the channel
+ * @param text Text to send
+ */
+ void WriteNotice(const std::string& text);
};
inline bool Channel::HasUser(User* user)