diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-28 17:11:53 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-28 17:11:53 +0000 |
commit | f6573f487ad072de7214031d71802a139145f3de (patch) | |
tree | 78e7bb99554718f54e0bd49229ca18d73eb41e11 | |
parent | 67878d628c15f2adec41b6d3b266830a636c2ed0 (diff) |
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
-rw-r--r-- | src/modules/m_lockserv.cpp | 14 |
1 files 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 <nick> <servername> :Closed for new connections
+ * 988 <nick> <servername> :Closed for new connections * 989 <nick> <servername> :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); } }; |