summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorViper <viper@anope.org>2013-06-05 17:28:46 +0200
committerViper <viper@anope.org>2013-06-05 17:28:46 +0200
commitf1c3f0d820caedfd7667c09bd06f60b9c23283d9 (patch)
treee1a3a8acb44a54f4b04cf3f66a1cc773e982bb79 /src
parent0a786568048b257561bb1337d21269b130122c7d (diff)
Bug #1527 - Fixed modules being loaded regardless of the load abort signal returned by a modules AnopeInit function. (Introduced in commit. e0c3069c)
Diffstat (limited to 'src')
-rw-r--r--src/modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.c b/src/modules.c
index d63a8b130..9962a16fb 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -697,7 +697,7 @@ int loadModule(Module * m, User * u)
}
argc++;
- init_union.func(argc, argv); /* exec AnopeInit */
+ ret = init_union.func(argc, argv); /* exec AnopeInit */
if (u) {
free(argv[0]);
}