We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 279bcf3 commit d197b97Copy full SHA for d197b97
host.go
@@ -120,7 +120,7 @@ func (h *Host) Connect(term *sshd.Terminal) {
120
// Should the user be op'd on join?
121
if key := term.Conn.PublicKey(); key != nil {
122
authItem, err := h.auth.ops.Get(newAuthKey(key))
123
- if err != nil {
+ if err == nil {
124
err = h.Room.Ops.Add(set.Rename(authItem, member.ID()))
125
}
126
0 commit comments