fixed bug in caps hash generation. thanks Asterix of the Gajim project