Fix Typo in getHostmask() signature

A quick fix for a typo that I noticed while using the library.

I hope this is what you intended.