From d185decae97752368d5cf62311cbc0d1a52aa22c Mon Sep 17 00:00:00 2001 From: pippijn Date: Wed, 11 Jun 2008 11:35:23 +0000 Subject: fixed some indentation and spacing in modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_hostchange.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/m_hostchange.cpp') 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 -- cgit v1.2.3