summaryrefslogtreecommitdiff
path: root/src/modules.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-07-03 18:13:17 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-07-03 18:13:17 +0000
commita1ce9ba4b3c64a9f7daf82d88b40381afebd5222 (patch)
tree58255747116bfee3624fb75cf8350fc912e5e078 /src/modules.c
parent36ad1362178afa777fb41884ba0e2a3c93df24cb (diff)
- White-space commit / style corrections
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2343 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/modules.c')
-rw-r--r--src/modules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules.c b/src/modules.c
index e8dc695..8c90b5f 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -370,7 +370,7 @@ load_core_modules(int warn)
*
* input - pointer to path
* - flagged as core module or not
- * output - -1 if error
+ * output - -1 if error
* side effects - module is loaded if found.
*/
int
@@ -390,7 +390,7 @@ load_one_module(const char *path)
continue;
if (strstr(modpath, "../") == NULL &&
- strstr(modpath, "/..") == NULL)
+ strstr(modpath, "/..") == NULL)
if (!stat(modpath, &statbuf))
if (S_ISREG(statbuf.st_mode)) /* Regular files only please */
return load_a_module(modpath, 1);