summaryrefslogtreecommitdiff
path: root/src/modules/m_hostchange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_hostchange.cpp')
-rw-r--r--src/modules/m_hostchange.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp
index 7861823f1..95c40d65e 100644
--- a/src/modules/m_hostchange.cpp
+++ b/src/modules/m_hostchange.cpp
@@ -35,7 +35,7 @@ class ModuleHostChange : public Module
std::string MySuffix;
std::string MyPrefix;
std::string MySeparator;
-
+
public:
ModuleHostChange(InspIRCd* Me)
: Module(Me)
@@ -44,7 +44,7 @@ class ModuleHostChange : public Module
Implementation eventlist[] = { I_OnRehash, I_OnUserConnect };
ServerInstance->Modules->Attach(eventlist, this, 2);
}
-
+
virtual ~ModuleHostChange()
{
for (hostchanges_t::iterator i = hostchanges.begin(); i != hostchanges.end(); i++)
@@ -85,14 +85,14 @@ class ModuleHostChange : public Module
hostchanges[mask] = x;
}
}
-
+
virtual Version GetVersion()
{
// returns the version number of the module to be
// listed in /MODULES
return Version(1,2,0,1,VF_VENDOR,API_VERSION);
}
-
+
virtual void OnUserConnect(User* user)
{
for (hostchanges_t::iterator i = hostchanges.begin(); i != hostchanges.end(); i++)
@@ -142,7 +142,7 @@ class ModuleHostChange : public Module
}
if (complete.empty())
complete = "i-have-a-lame-nick";
-
+
if (!MyPrefix.empty())
newhost = MyPrefix + MySeparator + complete;
else