simplify Replier

This commit is contained in:
Jeremy Latt
2014-02-14 19:35:25 -08:00
parent ac186a0669
commit 33b1e6c582
4 changed files with 13 additions and 18 deletions
+4 -5
View File
@@ -171,11 +171,10 @@ func (s *Server) tryRegister(c *Client) {
if c.HasNick() && c.HasUsername() {
c.phase = Normal
c.loginTimer.Stop()
c.Reply(
RplWelcome(s, c),
RplYourHost(s),
RplCreated(s),
RplMyInfo(s))
c.Reply(RplWelcome(s, c))
c.Reply(RplYourHost(s))
c.Reply(RplCreated(s))
c.Reply(RplMyInfo(s))
s.MOTD(c)
}
}