X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmembership.h;h=1bac0cf95e90563825e89d998a7f1284d7b53625;hb=635cb9d65f6d7f6758ae8ed874da00c8d94b6e39;hp=8630bb6730692886bd24bd657536e48aa35e0762;hpb=36040be2952186d56a6646ee7d972aaafdd4e31a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/membership.h b/include/membership.h index 8630bb673..1bac0cf95 100644 --- a/include/membership.h +++ b/include/membership.h @@ -1,7 +1,10 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2012-2014 Attila Molnar + * Copyright (C) 2013-2014, 2016 Attila Molnar + * Copyright (C) 2013, 2017-2018 Sadie Powell + * Copyright (C) 2012 Robby + * Copyright (C) 2010 Craig Edwards * Copyright (C) 2009 Daniel De Graaf * * This file is part of InspIRCd. InspIRCd is free software: you can @@ -111,4 +114,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; };