Fix type of lusers
This commit is contained in:
parent
9a4e42ba8b
commit
de42ef98b6
@ -75,7 +75,7 @@ func GetNumberOfRegisteredUsers(client *Client) (nusers float64){
|
|||||||
}
|
}
|
||||||
|
|
||||||
func SendLusers(client *Client) {
|
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))
|
client.ReplyNicknamed("251", fmt.Sprintf("There are %d users and 0 invisible on 1 servers", lusers))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user