summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorGravatar brain2005-04-18 04:01:50 +0000
committerGravatar brain2005-04-18 04:01:50 +0000
commit2d731a2feeee0d4802dfbea6daab5a0a7e7ffd9a (patch)
tree77a95956630c4dfd493ca2a9f1fca038bae2d2a4 /src/modules.cpp
parentFixed bug #47 reported (and suggested fix) by Om (diff)
Fixed strhashcomp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1115 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index aa856e7c0..ef3839b56 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -148,6 +148,8 @@ struct StrHashComp
char a[MAXBUF],b[MAXBUF];
strlcpy(a,s1.c_str(),MAXBUF);
strlcpy(b,s2.c_str(),MAXBUF);
+ strlower(a);
+ strlower(b);
return (strcasecmp(a,b) == 0);
}