reduce writes

This commit is contained in:
Jeremy Latt
2014-02-18 19:31:59 -08:00
parent dcb4ac90e2
commit f090c616b3
4 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -376,9 +376,9 @@ func (m *JoinCommand) HandleServer(s *Server) {
return
}
for name := range m.channels {
for name, key := range m.channels {
channel := s.GetOrMakeChannel(name)
channel.Join(client, m.channels[name])
channel.Join(client, key)
}
}