From 0586ec9baa7961240e0eab5b27d7823a9d465704 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sat, 5 Mar 2016 16:41:24 +0100 Subject: Add Channel::WriteNotice() --- include/channels.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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) -- cgit v1.2.3