Skip to content

Commit

Permalink
Use correct name for module
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Sep 4, 2015
1 parent 5d0b3a7 commit d25715d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/modules.c
Expand Up @@ -806,7 +806,7 @@ module_instance_t *module_instantiate_method(CONF_SECTION *modules, char const *
strlcpy(buffer, name, sizeof(buffer));
buffer[p - name - 1] = '\0';

mi = module_find(modules, name);
mi = module_find(modules, buffer);
if (mi) {
if (method) *method = i;
return module_instantiate(modules, buffer);
Expand Down

0 comments on commit d25715d

Please sign in to comment.