X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=include%2Fsnomasks.h;h=e3859faba7c5787c175857feeaae785f196e204b;hb=635cb9d65f6d7f6758ae8ed874da00c8d94b6e39;hp=db398922505e1c89750764e68c2fbe185ebf4784;hpb=c265641c0a9a9b0a4686e1ea313876c16b4700ad;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/snomasks.h b/include/snomasks.h index db3989225..e3859faba 100644 --- a/include/snomasks.h +++ b/include/snomasks.h @@ -1,10 +1,15 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2010 Daniel De Graaf + * Copyright (C) 2013-2014 Attila Molnar + * Copyright (C) 2013, 2017 Sadie Powell + * Copyright (C) 2012 Robby + * Copyright (C) 2009-2010 Daniel De Graaf + * Copyright (C) 2009 Uli Schlachter + * Copyright (C) 2008 Thomas Stagner * Copyright (C) 2008 Robin Burchell * Copyright (C) 2007 Dennis Friis - * Copyright (C) 2006 Craig Edwards + * Copyright (C) 2006, 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 @@ -50,7 +55,7 @@ class Snomask /** Sends a message to all opers with this snomask. * @param message The message to send - * @param remote If true the message will go to the uppercase variant of this snomask + * @param letter The snomask character to send the message to. */ void SendMessage(const std::string& message, char letter); @@ -59,8 +64,8 @@ class Snomask void Flush(); /** Returns the description of this snomask - * @param remote If true the description of the uppercase (remote) variant of this snomask - * will be returned (i.e.: "REMOTE" will be prepended to the description). + * @param letter The letter of this snomask. If uppercase, the description of the remote + * variant of this snomask will be returned (i.e.: "REMOTE" will be prepended to the description). * @return The description of this snomask */ std::string GetDescription(char letter) const; @@ -72,7 +77,7 @@ class Snomask * Modules and the core can enable and disable snomask characters. If they do, * then sending snomasks using these characters becomes possible. */ -class CoreExport SnomaskManager +class CoreExport SnomaskManager : public fakederef { Snomask masks[26];