diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-29 19:55:54 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-29 19:55:54 +0000 |
commit | 79dcf2134c8ad7005663886e71a44721715b7d16 (patch) | |
tree | ca171dd36442f433385c925356237af30a63da54 /src/modules/extra | |
parent | 9ae6c6e31110162b1811bcb4c97f1f2e276a1c18 (diff) |
Some modules forgotten for conversion to ModuleManager
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7991 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_sqlite3.cpp | 12 | ||||
-rw-r--r-- | src/modules/extra/m_ziplink.cpp | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp index 66955de07..f37e52324 100644 --- a/src/modules/extra/m_sqlite3.cpp +++ b/src/modules/extra/m_sqlite3.cpp @@ -468,9 +468,9 @@ class ModuleSQLite3 : public Module ModuleSQLite3(InspIRCd* Me) : Module::Module(Me), currid(0) { - ServerInstance->UseInterface("SQLutils"); + ServerInstance->Modules->UseInterface("SQLutils"); - if (!ServerInstance->PublishFeature("SQL", this)) + if (!ServerInstance->Modules->PublishFeature("SQL", this)) { throw ModuleException("m_sqlite3: Unable to publish feature 'SQL'"); } @@ -479,7 +479,7 @@ class ModuleSQLite3 : public Module ReadConf(); - ServerInstance->PublishInterface("SQL", this); + ServerInstance->Modules->PublishInterface("SQL", this); } virtual ~ModuleSQLite3() @@ -491,9 +491,9 @@ class ModuleSQLite3 : public Module resultnotify->OnError(I_ERR_SOCKET); resultnotify->ClosePending = true; delete resultnotify; - ServerInstance->UnpublishInterface("SQL", this); - ServerInstance->UnpublishFeature("SQL"); - ServerInstance->DoneWithInterface("SQLutils"); + ServerInstance->Modules->UnpublishInterface("SQL", this); + ServerInstance->Modules->UnpublishFeature("SQL"); + ServerInstance->Modules->DoneWithInterface("SQLutils"); } void Implements(char* List) diff --git a/src/modules/extra/m_ziplink.cpp b/src/modules/extra/m_ziplink.cpp index e815d1042..7f7453240 100644 --- a/src/modules/extra/m_ziplink.cpp +++ b/src/modules/extra/m_ziplink.cpp @@ -150,7 +150,7 @@ class ModuleZLib : public Module ModuleZLib(InspIRCd* Me) : Module::Module(Me) { - ServerInstance->PublishInterface("InspSocketHook", this); + ServerInstance->Modules->PublishInterface("InspSocketHook", this); total_out_compressed = total_in_compressed = 0; total_out_uncompressed = total_out_uncompressed = 0; @@ -158,7 +158,7 @@ class ModuleZLib : public Module virtual ~ModuleZLib() { - ServerInstance->UnpublishInterface("InspSocketHook", this); + ServerInstance->Modules->UnpublishInterface("InspSocketHook", this); } virtual Version GetVersion() |