diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-13 20:31:33 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-13 20:31:33 +0000 |
commit | 1524caf2f799cff54c2de330c9670a0b761ba3d8 (patch) | |
tree | 45fffe020b28782a087925c94fb5195fb9b4796b /src/modules/m_invisible.cpp | |
parent | 7892c8a0313c50d8138942ff3b112691caf05a2f (diff) |
Simplify ModeHandler constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11701 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_invisible.cpp')
-rw-r--r-- | src/modules/m_invisible.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_invisible.cpp b/src/modules/m_invisible.cpp index cbdfcc600..ae54fa96b 100644 --- a/src/modules/m_invisible.cpp +++ b/src/modules/m_invisible.cpp @@ -1,5 +1,5 @@ /* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | + * | Inspire Internet Relay Chat Daemon * +------------------------------------+ * * InspIRCd: (C) 2002-2009 InspIRCd Development Team @@ -19,8 +19,9 @@ class InvisibleMode : public ModeHandler { public: - InvisibleMode(InspIRCd* Instance, Module* Creator) : ModeHandler(Instance, Creator, 'Q', 0, 0, false, MODETYPE_USER, true) + InvisibleMode(InspIRCd* Instance, Module* Creator) : ModeHandler(Creator, 'Q', PARAM_NONE, MODETYPE_USER) { + oper = true; } ~InvisibleMode() |