X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fctables.h;h=792f3b9c3d078599ee5dfe0ed914db8bf0d8e121;hb=10714b0ded0ff1304034bb3c2eab9ef5fb163616;hp=2049738c97c586c0303b4cbac0db8f98ecff8f8f;hpb=9ebda853f5bc470858501897442610699a5fd5de;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/ctables.h b/include/ctables.h index 2049738c9..792f3b9c3 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -2,7 +2,7 @@ * InspIRCd -- Internet Relay Chat Daemon * * Copyright (C) 2012-2015, 2018 Attila Molnar - * Copyright (C) 2012-2013, 2017-2018 Sadie Powell + * Copyright (C) 2012-2013, 2017-2018, 2020 Sadie Powell * Copyright (C) 2012 Robby * Copyright (C) 2009-2010 Daniel De Graaf * Copyright (C) 2008 Thomas Stagner @@ -146,6 +146,7 @@ class CoreExport CommandBase : public ServiceProvider /** Retrieves the IRCv3 message tags. */ const ClientProtocol::TagMap& GetTags() const { return tags; } + ClientProtocol::TagMap& GetTags() { return tags; } }; /** Minimum number of parameters command takes @@ -177,7 +178,7 @@ class CoreExport CommandBase : public ServiceProvider * @param cmd Command name. This must be UPPER CASE. * @param minpara Minimum parameters required for the command. * @param maxpara Maximum number of parameters this command may have - extra parameters - * will be tossed into one last space-seperated param. + * will be tossed into one last space-separated param. */ CommandBase(Module* me, const std::string& cmd, unsigned int minpara = 0, unsigned int maxpara = 0);