summaryrefslogtreecommitdiff
path: root/src/modules/m_opermodes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_opermodes.cpp')
-rw-r--r--src/modules/m_opermodes.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_opermodes.cpp b/src/modules/m_opermodes.cpp
index 4184409f1..0d923d7cb 100644
--- a/src/modules/m_opermodes.cpp
+++ b/src/modules/m_opermodes.cpp
@@ -19,14 +19,14 @@ class ModuleModesOnOper : public Module
{
private:
-
+
ConfigReader *Conf;
public:
ModuleModesOnOper(InspIRCd* Me)
: Module(Me)
{
-
+
Conf = new ConfigReader(ServerInstance);
Implementation eventlist[] = { I_OnPostOper, I_OnRehash };
ServerInstance->Modules->Attach(eventlist, this, 2);
@@ -38,17 +38,17 @@ class ModuleModesOnOper : public Module
delete Conf;
Conf = new ConfigReader(ServerInstance);
}
-
+
virtual ~ModuleModesOnOper()
{
delete Conf;
}
-
+
virtual Version GetVersion()
{
return Version(1,2,0,1,VF_VENDOR,API_VERSION);
}
-
+
virtual void OnPostOper(User* user, const std::string &opertype, const std::string &opername)
{
// whenever a user opers, go through the oper types, find their <type:modes>,