summaryrefslogtreecommitdiff
path: root/src/coremods/core_channel/core_channel.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-12-30 13:28:49 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-12-30 13:28:49 +0100
commit84924a36317abe82f82a12a4509985515217fea3 (patch)
treedd46f35046ba9f1703bb14f9e2f1160464856c6c /src/coremods/core_channel/core_channel.h
parent2aa605cdd2f6d10b95d9973166ed797f2dc5f6e9 (diff)
cmd_names Inherit handler from SplitCommand
Diffstat (limited to 'src/coremods/core_channel/core_channel.h')
-rw-r--r--src/coremods/core_channel/core_channel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/coremods/core_channel/core_channel.h b/src/coremods/core_channel/core_channel.h
index 2a2800523..0dafde8cb 100644
--- a/src/coremods/core_channel/core_channel.h
+++ b/src/coremods/core_channel/core_channel.h
@@ -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.