summaryrefslogtreecommitdiff
path: root/src/modules/m_antibear.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_antibear.cpp')
-rw-r--r--src/modules/m_antibear.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_antibear.cpp b/src/modules/m_antibear.cpp
index 925ec2314..77b817b54 100644
--- a/src/modules/m_antibear.cpp
+++ b/src/modules/m_antibear.cpp
@@ -23,15 +23,15 @@ class ModuleAntiBear : public Module
public:
ModuleAntiBear(InspIRCd* Me) : Module(Me)
{
-
+
Implementation eventlist[] = { I_OnUserRegister, I_OnPreCommand };
ServerInstance->Modules->Attach(eventlist, this, 2);
}
-
+
virtual ~ModuleAntiBear()
{
}
-
+
virtual Version GetVersion()
{
return Version(1,2,0,0,VF_VENDOR,API_VERSION);
@@ -54,12 +54,12 @@ class ModuleAntiBear : public Module
return 1;
}
-
+
user->Shrink("antibear_timewait");
// Block the command, so the user doesn't receive a no such nick notice
return 1;
}
-
+
return 0;
}