]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/coremods/core_channel/core_channel.h
Remove the OnNamesListItem event out of the core.
[user/henk/code/inspircd.git] / src / coremods / core_channel / core_channel.h
index 6e11275df6fcc36538389ffd0fec11355b071bc4..c054d5265e6c4435361e69aa526653ff67c1aaea 100644 (file)
@@ -116,9 +116,11 @@ class CommandTopic : public SplitCommand
  */
 class CommandNames : public SplitCommand
 {
+ private:
        ChanModeReference secretmode;
        ChanModeReference privatemode;
        UserModeReference invisiblemode;
+       Events::ModuleEventProvider namesevprov;
 
  public:
        /** Constructor for names.
@@ -179,6 +181,7 @@ class ModeChannelKey : public ParamMode<ModeChannelKey, LocalStringExt>
        ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string& parameter, bool adding) CXX11_OVERRIDE;
        void SerializeParam(Channel* chan, const std::string* key, std::string& out)    ;
        ModeAction OnSet(User* source, Channel* chan, std::string& param) CXX11_OVERRIDE;
+       bool IsParameterSecret() CXX11_OVERRIDE;
 };
 
 /** Channel mode +l