diff options
author | Peter Powell <petpow@saberuk.com> | 2018-01-03 16:24:19 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-01-03 16:24:19 +0000 |
commit | 57e4bf97250a20f0b54957f2d5aabf02f158c171 (patch) | |
tree | e1bbfa45ea0ad696d576d8d197528c2a28d9415b /include | |
parent | 372bb6ec31e26908966ff553b782c9a24a07db6a (diff) |
Fix m_chanhistory sending the history notice directly to the user.
Closes #1452.
Diffstat (limited to 'include')
-rw-r--r-- | include/membership.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/membership.h b/include/membership.h index 8630bb673..6d0bc274f 100644 --- a/include/membership.h +++ b/include/membership.h @@ -111,4 +111,9 @@ class CoreExport Membership : public Extensible, public insp::intrusive_list_nod * this when multiple prefixes are used names lists. */ std::string GetAllPrefixChars() const; + + /** Sends a server notice to this user in the context of this channel. + * @param text The contents of the message to send. + */ + void WriteNotice(const std::string& text) const; }; |