From de42ef98b6f726aa09bd6a5da0528cd2c21ebf00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Busse?= Date: Thu, 8 Mar 2018 17:11:58 +0000 Subject: [PATCH] Fix type of lusers --- daemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) }