Fix typo in BOUNCER notifications: s/status/state/

This commit is contained in:
Simon Ser 2021-05-26 11:08:10 +02:00
parent b0349caada
commit 4b6a529b69

View File

@ -534,7 +534,7 @@ func (u *user) run() {
dc.SendMessage(&irc.Message{ dc.SendMessage(&irc.Message{
Prefix: dc.srv.prefix(), Prefix: dc.srv.prefix(),
Command: "BOUNCER", Command: "BOUNCER",
Params: []string{"NETWORK", netIDStr, "status=connected"}, Params: []string{"NETWORK", netIDStr, "state=connected"},
}) })
} }
}) })
@ -670,7 +670,7 @@ func (u *user) handleUpstreamDisconnected(uc *upstreamConn) {
dc.SendMessage(&irc.Message{ dc.SendMessage(&irc.Message{
Prefix: dc.srv.prefix(), Prefix: dc.srv.prefix(),
Command: "BOUNCER", Command: "BOUNCER",
Params: []string{"NETWORK", netIDStr, "status=disconnected"}, Params: []string{"NETWORK", netIDStr, "state=disconnected"},
}) })
} }
}) })