[ngIRCd-GIT-ML] Alexander Barton : Add some type casts to random() and srandom() functions