1
0
Fork 0
forked from External/ergo

generalize server name/listen.

This commit is contained in:
Jeremy Latt 2012-04-17 22:11:35 -07:00
parent 96cb8240e6
commit 4cee1ef909
5 changed files with 16 additions and 6 deletions

View file

@ -64,8 +64,8 @@ func tryRegister(s *Server, c *Client) {
if (!c.registered && c.HasNick() && c.HasUser()) {
c.registered = true
c.send <- ReplyWelcome(c)
c.send <- ReplyYourHost(c.Nick(), "irc.jlatt.com")
c.send <- ReplyYourHost(c.Nick(), s.name)
c.send <- ReplyCreated(c.Nick(), "2012/04/07")
c.send <- ReplyMyInfo(c.Nick(), "irc.jlatt.com")
c.send <- ReplyMyInfo(c.Nick(), s.name)
}
}