From 00660293338f6a78278e52d05f6cf9a7ef9acc64 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 6 Aug 2014 13:27:16 +0200 Subject: Remove a bunch of useless classes representing simple core modes --- include/builtinmodes.h | 70 -------------------------------------------------- 1 file changed, 70 deletions(-) (limited to 'include') 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 @@ -67,26 +57,6 @@ class ModeChannelLimit : public ParamMode 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 -- cgit v1.2.3