aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_chghost.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-04-01 21:56:13 +0200
committerGravatar attilamolnar2013-04-01 21:56:13 +0200
commit26e7bb0b9a17a595d9935a1cae41b44504ad213e (patch)
tree904734f67485d62de90c35abbb522ad0e84cb862 /src/modules/m_chghost.cpp
parentIgnore empty sid in ServerConfig::Fill() (diff)
downloadinspircd++-26e7bb0b9a17a595d9935a1cae41b44504ad213e.tar.gz
inspircd++-26e7bb0b9a17a595d9935a1cae41b44504ad213e.tar.bz2
inspircd++-26e7bb0b9a17a595d9935a1cae41b44504ad213e.zip
Whitespace and empty destructor removal, minor coding style changes
Diffstat (limited to 'src/modules/m_chghost.cpp')
-rw-r--r--src/modules/m_chghost.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp
index 08f7f76fa..15e360b1a 100644
--- a/src/modules/m_chghost.cpp
+++ b/src/modules/m_chghost.cpp
@@ -27,7 +27,6 @@
*/
class CommandChghost : public Command
{
- private:
char* hostmap;
public:
CommandChghost(Module* Creator, char* hmap) : Command(Creator,"CHGHOST", 2), hostmap(hmap)
@@ -91,6 +90,7 @@ class ModuleChgHost : public Module
{
CommandChghost cmd;
char hostmap[256];
+
public:
ModuleChgHost() : cmd(this, hostmap)
{
@@ -113,15 +113,10 @@ class ModuleChgHost : public Module
hostmap[(unsigned char)*n] = 1;
}
- ~ModuleChgHost()
- {
- }
-
Version GetVersion()
{
return Version("Provides support for the CHGHOST command", VF_OPTCOMMON | VF_VENDOR);
}
-
};
MODULE_INIT(ModuleChgHost)