diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-03-05 16:58:50 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-03-05 16:58:50 +0100 |
commit | cee5a82d95fc3f5d3670ef483998bfc2d4a5a82e (patch) | |
tree | d70d970fbde253cdc2e5a47343c758480e9bae71 /include | |
parent | 33d0a3b53a7bb8d2f13aac9ed2f81cde4dbbb4ff (diff) | |
parent | 0412378109ae9f618e47b2bb60729c0d8f29fe8d (diff) |
Merge branch 'master+chanwritenotice'
Diffstat (limited to 'include')
-rw-r--r-- | include/channels.h | 5 |
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) |