Fix type of lusers

This commit is contained in:
Björn Busse 2018-03-08 17:11:58 +00:00
parent 9a4e42ba8b
commit de42ef98b6

View File

@ -75,7 +75,7 @@ func GetNumberOfRegisteredUsers(client *Client) (nusers float64){
}
func SendLusers(client *Client) {
lusers := GetNumberOfRegisteredUsers(client)
lusers := int(GetNumberOfRegisteredUsers(client))
client.ReplyNicknamed("251", fmt.Sprintf("There are %d users and 0 invisible on 1 servers", lusers))
}