diff options
| author | 2005-12-14 14:41:02 +0000 | |
|---|---|---|
| committer | 2005-12-14 14:41:02 +0000 | |
| commit | 262b54d0a8d203842a2b04585f08e4102bdbb7e0 (patch) | |
| tree | a4d15286ec53d7b43a6f459931b1f405cc06a010 /src/modules.cpp | |
| parent | Fixed to use new methods of ServerConfig (diff) | |
module_names -> Config->module_names
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2415 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
| -rw-r--r-- | src/modules.cpp | 2 |
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]; } |
