]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/fmode.cpp
Replace all abstract usages of his/he/her with they/their/it.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / fmode.cpp
index 52e512d9275563258f3eead62994195b98ba90bb..a15b5ddc219b0b4c96d40148eba494b81bb8c0a1 100644 (file)
@@ -21,8 +21,8 @@
 #include "inspircd.h"
 #include "commands.h"
 
-/** FMODE command - server mode with timestamp checks */
-CmdResult CommandFMode::Handle(User* who, std::vector<std::string>& params)
+/** FMODE command - channel mode change with timestamp checks */
+CmdResult CommandFMode::Handle(User* who, Params& params)
 {
        time_t TS = ServerCommand::ExtractTS(params[1]);
 
@@ -39,7 +39,7 @@ CmdResult CommandFMode::Handle(User* who, std::vector<std::string>& params)
        if (TS > ourTS)
                return CMD_FAILURE;
 
-       /* TS is equal or less: Merge the mode changes into ours and pass on.
+       /* TS is equal or less: apply the mode change locally and forward the message
         */
 
        // Turn modes into a Modes::ChangeList; may have more elements than max modes