diff --git a/daemon.go b/daemon.go index 97e9854..f01cc76 100644 --- a/daemon.go +++ b/daemon.go @@ -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)) }