]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_remove.cpp
Rename the spanningtree module header to server.
[user/henk/code/inspircd.git] / src / modules / m_remove.cpp
index d643bc0cd46475c0130c2bd5a175d85863711ec7..dfe6247020cef4ed716e6a511e75346a244011fb 100644 (file)
@@ -108,7 +108,7 @@ class RemoveBase : public Command
                                if (!IS_LOCAL(target))
                                {
                                        // Send an ENCAP REMOVE with parameters being in the old <user> <chan> order which is
-                                       // compatible with both 2.0 and 2.2. This also turns FPART into REMOVE.
+                                       // compatible with both 2.0 and 3.0. This also turns FPART into REMOVE.
                                        std::vector<std::string> p;
                                        p.push_back(target->uuid);
                                        p.push_back(channel->name);
@@ -164,7 +164,7 @@ class CommandRemove : public RemoveBase
                TRANSLATE3(TR_NICK, TR_TEXT, TR_TEXT);
        }
 
-       CmdResult Handle (const std::vector<std::string>& parameters, User *user)
+       CmdResult Handle(const std::vector<std::string>& parameters, User* user) CXX11_OVERRIDE
        {
                return HandleRMB(parameters, user, false);
        }
@@ -182,7 +182,7 @@ class CommandFpart : public RemoveBase
                TRANSLATE3(TR_TEXT, TR_NICK, TR_TEXT);
        }
 
-       CmdResult Handle (const std::vector<std::string>& parameters, User *user)
+       CmdResult Handle(const std::vector<std::string>& parameters, User* user) CXX11_OVERRIDE
        {
                return HandleRMB(parameters, user, true);
        }