diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-09 22:08:46 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-09 22:08:46 +0000 |
commit | e78bb3590c517fcfa1990aace159dc2433ffbd62 (patch) | |
tree | dae1e135ce02c2afda60a2b4f12cf167e16ca5dc | |
parent | 624c12932fe01bf5b795058ff9eebf060c1e7edd (diff) |
Fixed compile issue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2760 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 16b450ec9..7ccbef91d 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -282,14 +282,14 @@ void InspIRCd::MoveTo(std::string modulename,int slot) log(DEBUG,"Moving %s to slot %d",modulename.c_str(),slot); for (unsigned int v = 0; v < Config->module_names.size(); v++) { - if (module_names[v] == modulename) + if (Config->module_names[v] == modulename) { // found an instance, swap it with the item at MODCOUNT v2 = v; break; } } - if (v == slot) + if (v2 == slot) { log(DEBUG,"Item %s already in slot %d!",modulename.c_str(),slot); } |