diff options
Diffstat (limited to 'internal/client')
| -rw-r--r-- | internal/client/ui/core/core.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/client/ui/core/core.go b/internal/client/ui/core/core.go index 37ce613..8ff7810 100644 --- a/internal/client/ui/core/core.go +++ b/internal/client/ui/core/core.go @@ -280,7 +280,7 @@ func (m *Model) updateConnected(message tea.Msg) tea.Cmd { case *packet.Error: err := "new connection from another location, closing this one" - if msg.PktType == packet.PacketError && err == msg.Error { + if err == msg.Error { return ui.Transition(ui.NewAuth()) } |
