diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-08-06 13:27:16 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-08-06 13:27:16 +0200 |
commit | 00660293338f6a78278e52d05f6cf9a7ef9acc64 (patch) | |
tree | c26615335ba31d725a6edb8ae5814ef0157fa116 /include | |
parent | 3e2cfaf8c0cda738033a877b3220cd9536601a2f (diff) |
Remove a bunch of useless classes representing simple core modes
Diffstat (limited to 'include')
-rw-r--r-- | include/builtinmodes.h | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/include/builtinmodes.h b/include/builtinmodes.h index e78e68b11..26e38204a 100644 --- a/include/builtinmodes.h +++ b/include/builtinmodes.h @@ -35,16 +35,6 @@ class ModeChannelBan : public ListModeBase } }; -/** Channel mode +i - */ -class ModeChannelInviteOnly : public SimpleChannelModeHandler -{ - public: - ModeChannelInviteOnly() : SimpleChannelModeHandler(NULL, "inviteonly", 'i') - { - } -}; - /** Channel mode +k */ class ModeChannelKey : public ParamMode<ModeChannelKey, LocalStringExt> @@ -67,26 +57,6 @@ class ModeChannelLimit : public ParamMode<ModeChannelLimit, LocalIntExt> ModeAction OnSet(User* source, Channel* channel, std::string& parameter); }; -/** Channel mode +m - */ -class ModeChannelModerated : public SimpleChannelModeHandler -{ - public: - ModeChannelModerated() : SimpleChannelModeHandler(NULL, "moderated", 'm') - { - } -}; - -/** Channel mode +n - */ -class ModeChannelNoExternal : public SimpleChannelModeHandler -{ - public: - ModeChannelNoExternal() : SimpleChannelModeHandler(NULL, "noextmsg", 'n') - { - } -}; - /** Channel mode +o */ class ModeChannelOp : public PrefixMode @@ -95,36 +65,6 @@ class ModeChannelOp : public PrefixMode ModeChannelOp(); }; -/** Channel mode +p - */ -class ModeChannelPrivate : public SimpleChannelModeHandler -{ - public: - ModeChannelPrivate() : SimpleChannelModeHandler(NULL, "private", 'p') - { - } -}; - -/** Channel mode +s - */ -class ModeChannelSecret : public SimpleChannelModeHandler -{ - public: - ModeChannelSecret() : SimpleChannelModeHandler(NULL, "secret", 's') - { - } -}; - -/** Channel mode +t - */ -class ModeChannelTopicOps : public SimpleChannelModeHandler -{ - public: - ModeChannelTopicOps() : SimpleChannelModeHandler(NULL, "topiclock", 't') - { - } -}; - /** Channel mode +v */ class ModeChannelVoice : public PrefixMode @@ -133,16 +73,6 @@ class ModeChannelVoice : public PrefixMode ModeChannelVoice(); }; -/** User mode +i - */ -class ModeUserInvisible : public SimpleUserModeHandler -{ - public: - ModeUserInvisible() : SimpleUserModeHandler(NULL, "invisible", 'i') - { - } -}; - /** User mode +s */ class ModeUserServerNoticeMask : public ModeHandler |