]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/ctables.h
Use IsCTCP in blockcolor for ignoring CTCPs.
[user/henk/code/inspircd.git] / include / ctables.h
index 22c0ef67eb60003abd24366295def4fbac10f599..1e30b22f89572f9f7f0e9d5a0f49b675cb4b85f0 100644 (file)
@@ -2,13 +2,13 @@
  * InspIRCd -- Internet Relay Chat Daemon
  *
  *   Copyright (C) 2012-2015, 2018 Attila Molnar <attilamolnar@hush.com>
- *   Copyright (C) 2012-2013, 2017-2018 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2012-2013, 2017-2018, 2020 Sadie Powell <sadie@witchery.services>
  *   Copyright (C) 2012 Robby <robby@chatbelgie.be>
  *   Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org>
  *   Copyright (C) 2008 Thomas Stagner <aquanight@inspircd.org>
  *   Copyright (C) 2007-2008 Robin Burchell <robin+git@viroteck.net>
  *   Copyright (C) 2007 Dennis Friis <peavey@inspircd.org>
- *   Copyright (C) 2006-2010 Craig Edwards <brain@inspircd.org>
+ *   Copyright (C) 2003, 2006-2010 Craig Edwards <brain@inspircd.org>
  *
  * 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
@@ -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);
 
@@ -203,7 +204,7 @@ class CoreExport Command : public CommandBase
         * @param maxpara The maximum number of parameters that the command accepts.
         */
        Command(Module* me, const std::string& cmd, unsigned int minpara = 0, unsigned int maxpara = 0);
-       
+
  public:
        /** Unregisters this command from the command parser. */
        ~Command() CXX11_OVERRIDE;
@@ -262,7 +263,7 @@ protected:
        SplitCommand(Module* me, const std::string& cmd, unsigned int minpara = 0, unsigned int maxpara = 0);
 
  public:
-       /** @copydoc Commmand::Handle */
+       /** @copydoc Command::Handle */
        CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE;
 
        /** Handle the command from a local user.