]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/coremods/core_channel/core_channel.h
Merge v2.0.23 and v2.0.24 into master.
[user/henk/code/inspircd.git] / src / coremods / core_channel / core_channel.h
index 2a280052390006fe4615e546c171124ffae7e174..0dafde8cbcf278c001b5852a31482ec7ec94560e 100644 (file)
@@ -90,7 +90,7 @@ class CommandTopic : public SplitCommand
 
 /** Handle /NAMES.
  */
-class CommandNames : public Command
+class CommandNames : public SplitCommand
 {
        ChanModeReference secretmode;
        ChanModeReference privatemode;
@@ -106,14 +106,14 @@ class CommandNames : public Command
         * @param user The user issuing the command
         * @return A value from CmdResult to indicate command success or failure.
         */
-       CmdResult Handle(const std::vector<std::string>& parameters, User *user);
+       CmdResult HandleLocal(const std::vector<std::string>& parameters, LocalUser* user);
 
        /** Spool the NAMES list for a given channel to the given user
         * @param user User to spool the NAMES list to
         * @param chan Channel whose nicklist to send
         * @param show_invisible True to show invisible (+i) members to the user, false to omit them from the list
         */
-       void SendNames(User* user, Channel* chan, bool show_invisible);
+       void SendNames(LocalUser* user, Channel* chan, bool show_invisible);
 };
 
 /** Handle /KICK.