]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sasl.cpp
Make a ./configure --system to support system-wide installation of inspircd
[user/henk/code/inspircd.git] / src / modules / m_sasl.cpp
index 298544edce84a228365acacaa03cc36efde7f3e2..c35c38d2d6968e1d5d9254b7e64aabb5a35d5611 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -229,8 +229,8 @@ class ModuleSASL : public Module
                Implementation eventlist[] = { I_OnEvent, I_OnUserRegister };
                ServerInstance->Modules->Attach(eventlist, this, 2);
 
-               providerbase* providelist[] = { &auth, &sasl, &authExt };
-               ServerInstance->AddServices(providelist, 3);
+               ServiceProvider* providelist[] = { &auth, &sasl, &authExt };
+               ServerInstance->Modules->AddServices(providelist, 3);
 
                if (!ServerInstance->Modules->Find("m_services_account.so") || !ServerInstance->Modules->Find("m_cap.so"))
                        ServerInstance->Logs->Log("m_sasl", DEFAULT, "WARNING: m_services_account.so and m_cap.so are not loaded! m_sasl.so will NOT function correctly until these two modules are loaded!");