Remove GLOBALMODCONSTRUCTOR

MODCONSTRUCTOR does that job just fine (now).

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2011-08-21 16:46:19 +02:00
parent c2cc57cbf4
commit 80c76c97a6
19 changed files with 20 additions and 39 deletions

View File

@@ -17,7 +17,7 @@ class CIdentFileModule : public CModule {
CIRCSock *m_pIRCSock;
public:
GLOBALMODCONSTRUCTOR(CIdentFileModule) {
MODCONSTRUCTOR(CIdentFileModule) {
AddHelpCommand();
AddCommand("GetFile", static_cast<CModCommand::ModCmdFunc>(&CIdentFileModule::GetFile));
AddCommand("SetFile", static_cast<CModCommand::ModCmdFunc>(&CIdentFileModule::SetFile),