summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-11-17 22:06:36 +0000
committerPeter Powell <petpow@saberuk.com>2019-11-17 22:17:42 +0000
commit687778b72e31322a73b2e2e17af6bd0f2a2561bc (patch)
treed492c428f43378723357a0f82a2cb73ba994ad83 /include
parentb443df39386c77cf2d027e2b45c4d629261e0100 (diff)
Allow Channel::WriteNotice send to other servers and status ranks.
Diffstat (limited to 'include')
-rw-r--r--include/channels.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h
index d346db8ef..5957ae668 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -283,8 +283,9 @@ class CoreExport Channel : public Extensible
/** Write a NOTICE to all local users on the channel
* @param text Text to send
+ * @param status The minimum status rank to send this message to.
*/
- void WriteNotice(const std::string& text);
+ void WriteNotice(const std::string& text, char status = 0);
};
inline bool Channel::HasUser(User* user)