]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_who.h
Add/document channels/set-permanent priv, and tie setting of +P to it.
[user/henk/code/inspircd.git] / include / commands / cmd_who.h
index 87ea44449d08dd8ad7fad7cdc534cb2406de4a2a..8696f5a0bba188765b3156f370a14ea32b7556d8 100644 (file)
@@ -38,6 +38,8 @@ class CommandWho : public Command
        bool opt_away;
        bool opt_local;
        bool opt_far;
+       bool opt_time;
+
  public:
        /** Constructor for who.
         */
@@ -49,7 +51,7 @@ class CommandWho : public Command
         * @param user The user issuing the command
         * @return A value from CmdResult to indicate command success or failure.
         */
-       CmdResult Handle(const char* const* parameters, int pcnt, User *user);
+       CmdResult Handle(const std::vector<std::string>& parameters, User *user);
        bool whomatch(User* user, const char* matchtext);
 };