git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12509
e03df62e-2008-0410-955e-
edbf42e46eb7
std::string rv;
while (ok)
{
- const char* find = strchr(table, *data);
+ const char* find = strchr(table, *data++);
ok = (find && find < table + 64);
buffer = (buffer << 6) | (ok ? find - table : 0);
bitcount += 6;
user->WriteServ("NOTICE %s :%s hashed password for %s is %s",
user->nick.c_str(), algo.c_str(), stuff.c_str(), str.c_str());
+ return;
}
HashProvider* hp = ServerInstance->Modules->FindDataService<HashProvider>("hash/" + algo);
if (hp)