]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/hashcomp.cpp
Dunno why this method was static, doesnt need to be...
[user/henk/code/inspircd.git] / src / hashcomp.cpp
index a0394b0f95667d61e8ae710f9136694dc004ee87..3ab91531fa0b03dcbdf32e57a17c668e53bdd0b6 100644 (file)
@@ -138,15 +138,15 @@ int irc::irc_char_traits::compare(const char* str1, const char* str2, size_t n)
        for(unsigned int i = 0; i < n; i++)
        {
                if(lowermap[(unsigned char)*str1] > lowermap[(unsigned char)*str2])
-                               return 1;
+                       return 1;
 
                if(lowermap[(unsigned char)*str1] < lowermap[(unsigned char)*str2])
-                       return -1;
+                       return -1;
 
                if(*str1 == 0 || *str2 == 0)
-                       return 0;
+                       return 0;
 
-               str1++;
+               str1++;
                str2++;
        }
        return 0;
@@ -484,7 +484,7 @@ irc::dynamicbitmask::~dynamicbitmask()
        /* Tidy up the entire used memory on delete */
        delete[] bits;
 }
-                         
+
 irc::bitfield irc::dynamicbitmask::Allocate()
 {
        /* Yeah, this isnt too efficient, however a module or the core