X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fchannels.h;h=f01a0434fd22d2937c4febf67d8ce1a79c7c666d;hb=327bacd3687f307a5f8586856a94b16c9e4370bf;hp=d346db8ef791271e6ad6e7f7eaca401207f78912;hpb=87b1461e2a4710a38b32186c2582da9fe9bb3804;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/channels.h b/include/channels.h index d346db8ef..f01a0434f 100644 --- a/include/channels.h +++ b/include/channels.h @@ -1,10 +1,13 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2013-2018 Attila Molnar + * Copyright (C) 2012-2013, 2017-2020 Sadie Powell + * Copyright (C) 2012 Robby * Copyright (C) 2009 Daniel De Graaf - * Copyright (C) 2007 Robin Burchell - * Copyright (C) 2007 Dennis Friis - * Copyright (C) 2003-2007 Craig Edwards + * Copyright (C) 2007-2008 Robin Burchell + * Copyright (C) 2007, 2009 Dennis Friis + * Copyright (C) 2006, 2008, 2010 Craig Edwards * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public @@ -283,8 +286,10 @@ 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); + void WriteRemoteNotice(const std::string& text, char status = 0); }; inline bool Channel::HasUser(User* user)