summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index b560a2de6..24effa62a 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -299,7 +299,7 @@ bool InspIRCd::UnloadModule(const char* filename)
}
for(int t = 0; t < 255; t++)
- Config->global_implementation[t] -= implement_lists[j][t];
+ Config->global_implementation[t] -= Config->implement_lists[j][t];
FOREACH_MOD(I_OnUnloadModule,OnUnloadModule(modules[j],Config->module_names[j]));
// found the module
@@ -374,7 +374,7 @@ bool InspIRCd::LoadModule(const char* filename)
modules[MODCOUNT+1]->Implements(x);
for(int t = 0; t < 255; t++)
- Config->global_implementation[t] += implement_lists[MODCOUNT+1][t];
+ Config->global_implementation[t] += Config->implement_lists[MODCOUNT+1][t];
}
else
{