mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
generalize server name/listen.
This commit is contained in:
parent
96cb8240e6
commit
4cee1ef909
5 changed files with 16 additions and 6 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue