From 26e7bb0b9a17a595d9935a1cae41b44504ad213e Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Mon, 1 Apr 2013 21:56:13 +0200 Subject: Whitespace and empty destructor removal, minor coding style changes --- src/modules/m_alias.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/modules/m_alias.cpp') diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index 97b1612af..88c5ff9ca 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -59,14 +59,12 @@ class Alias class ModuleAlias : public Module { - private: - char fprefix; /* We cant use a map, there may be multiple aliases with the same name. * We can, however, use a fancy invention: the multimap. Maps a key to one or more values. * -- w00t - */ + */ std::multimap Aliases; /* whether or not +B users are allowed to use fantasy commands */ @@ -100,7 +98,6 @@ class ModuleAlias : public Module } public: - void init() { ReadAliases(); @@ -108,10 +105,6 @@ class ModuleAlias : public Module ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); } - virtual ~ModuleAlias() - { - } - virtual Version GetVersion() { return Version("Provides aliases of commands.", VF_VENDOR); -- cgit v1.3.1-10-gc9f91