ircnet test
This commit is contained in:
parent
81505513ad
commit
2b9b6ddbbe
@ -89,6 +89,8 @@ func TestGetServerInfo(t *testing.T) {
|
|||||||
con.SendPrivmsg(channel, fmt.Sprintf("Libera has %d users, %d channels, %d servers, %d invisible", res.Users, res.Channels, res.Servers, res.Invisible))
|
con.SendPrivmsg(channel, fmt.Sprintf("Libera has %d users, %d channels, %d servers, %d invisible", res.Users, res.Channels, res.Servers, res.Invisible))
|
||||||
res = GetServerInfo("irc.choopa.net:6667", "irc-go4240")
|
res = GetServerInfo("irc.choopa.net:6667", "irc-go4240")
|
||||||
con.SendPrivmsg(channel, fmt.Sprintf("EFNet has %d users, %d channels, %d servers, %d invisible", res.Users, res.Channels, res.Servers, res.Invisible))
|
con.SendPrivmsg(channel, fmt.Sprintf("EFNet has %d users, %d channels, %d servers, %d invisible", res.Users, res.Channels, res.Servers, res.Invisible))
|
||||||
|
res = GetServerInfo("irc.us.ircnet.net:6667", "irc-go4240")
|
||||||
|
con.SendPrivmsg(channel, fmt.Sprintf("IRCnet has %d users, %d channels, %d servers, %d invisible", res.Users, res.Channels, res.Servers, res.Invisible))
|
||||||
con.SendQuit("Scan Completed")
|
con.SendQuit("Scan Completed")
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user