From 57e4bf97250a20f0b54957f2d5aabf02f158c171 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 3 Jan 2018 16:24:19 +0000 Subject: Fix m_chanhistory sending the history notice directly to the user. Closes #1452. --- include/membership.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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; }; -- cgit v1.2.3