X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=include%2Fmembership.h;h=6d0bc274f94adf70c6ea1b7507580c4df1d5676b;hb=87bbf574bde2149daed9f9967f33ceae13250b70;hp=8630bb6730692886bd24bd657536e48aa35e0762;hpb=565544fac966b14e046bb3042ab485f79bcf7c9e;p=user%2Fhenk%2Fcode%2Finspircd.git 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; };