diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-06-26 13:27:46 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-06-26 13:27:46 +0000 |
commit | c848a3a6a55ef470840bc04cd19b1376171760d3 (patch) | |
tree | 42dbe7d65ee57f2196d323aabc3e35ff84a66346 /src/modules.c | |
parent | b9760a6353ff3a34f79d4a4f080c0ad59ef39645 (diff) |
BUILD : 1.7.10 (834) BUGS : NOTES : Added hs_request to the modpack, made memo_send a real global, and fixed a bug with module config stuff and PARAM_SET options
git-svn-id: svn://svn.anope.org/anope/trunk@834 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@587 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules.c b/src/modules.c index 1d9fb92c7..12a8fbea3 100644 --- a/src/modules.c +++ b/src/modules.c @@ -2337,19 +2337,17 @@ int moduleGetConfigDirective(Directive * d) linenum++; if (*buf == '#' || *buf == '\r' || *buf == '\n') continue; - dir = myStrGetOnlyToken(buf, '\t', 0); if (dir) { s = myStrGetTokenRemainder(buf, '\t', 1); } else { dir = myStrGetOnlyToken(buf, ' ', 0); - if (dir) { + if (dir || (dir = myStrGetOnlyToken(buf, '\n', 0))) { s = myStrGetTokenRemainder(buf, ' ', 1); } else { continue; } } - if (stricmp(dir, d->name) == 0) { if (s) { while (isspace(*s)) |