mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-19 22:18:11 -07:00
don't overwrite base command
This commit is contained in:
+2
-3
@@ -202,9 +202,8 @@ func (m *JoinCommand) HandleServer(s *Server) {
|
||||
c := m.Client()
|
||||
|
||||
if m.zero {
|
||||
cmd := &PartCommand{
|
||||
BaseCommand: BaseCommand{c},
|
||||
}
|
||||
cmd := &PartCommand{}
|
||||
cmd.SetClient(c)
|
||||
for channel := range c.channels {
|
||||
channel.commands <- cmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user