summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_lockserv.cpp14
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);
}
};