]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/hashcomp.cpp
Move all_opers into class InspIRCd
[user/henk/code/inspircd.git] / src / hashcomp.cpp
index bf90eaeb8a5767be53e99321a36a23bbbf0712f7..ac51cafe883deb0134c2c18b50949230785679ba 100644 (file)
@@ -91,8 +91,8 @@ size_t nspace::hash<string>::operator()(const string &s) const
        size_t t = 0;
        static struct hash<const char *> strhash;
 
-       for (const char* x = s.c_str(); *x; x++, t++)   /* Faster to do it this way than */
-               a[t] = lowermap[(unsigned char)*x];     /* Seperate strlcpy and strlower */
+       for (const char* x = s.c_str(); *x; x++)        /* Faster to do it this way than */
+               a[t++] = lowermap[(unsigned char)*x];   /* Seperate strlcpy and strlower */
 
        a[t] = 0;