summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 74bf5a92c..629672b24 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -723,7 +723,7 @@ Module* Server::FindModule(std::string name)
{
for (int i = 0; i <= MODCOUNT; i++)
{
- if (module_names[i] == name)
+ if (Config->module_names[i] == name)
{
return modules[i];
}