From f6573f487ad072de7214031d71802a139145f3de Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 28 Dec 2006 17:11:53 +0000 Subject: Tidy up indenting in here and remove a ^M git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6138 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_lockserv.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/modules/m_lockserv.cpp b/src/modules/m_lockserv.cpp index 844c75576..b413c33bc 100644 --- a/src/modules/m_lockserv.cpp +++ b/src/modules/m_lockserv.cpp @@ -7,7 +7,7 @@ /* $ModDesc: Allows locking of the server to stop all incoming connections till unlocked again */ /** Adds numerics - * 988 :Closed for new connections + * 988 :Closed for new connections * 989 :Open for new connections */ @@ -38,7 +38,7 @@ public: class cmd_unlockserv : public command_t { private: - bool& locked; + bool& locked; public: cmd_unlockserv (InspIRCd* Instance, bool &lock) @@ -81,9 +81,9 @@ public: ServerInstance->AddCommand(unlockcommand); } - virtual ~ModuleLockserv() - { - } + virtual ~ModuleLockserv() + { + } void Implements(char* List) { @@ -96,7 +96,7 @@ public: } virtual int OnUserRegister(userrec* user) - { + { if (locked) { userrec::QuitUser(ServerInstance, user, "Server is temporarily closed. Please try again later."); @@ -112,7 +112,7 @@ public: virtual Version GetVersion() { - return Version(1,0,0,1,0, API_VERSION); + return Version(1, 0, 0, 1, VF_VENDOR, API_VERSION); } }; -- cgit v1.2.3