summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
62fc1ac)
Nicks consisting only of underscores are no longer treated as a variant of some basename.
int chopCount = 0;
while(nick.at(nick.count() - 1 - chopCount) == '_')
chopCount++;
int chopCount = 0;
while(nick.at(nick.count() - 1 - chopCount) == '_')
chopCount++;
+ if(chopCount < nick.size())
+ nick.chop(chopCount);
}
quint16 hash = qChecksum(nick.toAscii().data(), nick.toAscii().size());
return (_senderHash = (hash & 0xf) + 1);
}
quint16 hash = qChecksum(nick.toAscii().data(), nick.toAscii().size());
return (_senderHash = (hash & 0xf) + 1);