1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 09:34:05 +08:00

fix usernick

This commit is contained in:
shylinux 2020-08-11 14:52:36 +08:00
parent c5d8e0a7d4
commit e5e926fbc7

View File

@ -34,13 +34,13 @@ func _sess_check(m *ice.Message, sessid string) {
m.Option(ice.MSG_USERNICK, value[USERNAME])
}
}
})
m.Log_AUTH(
USERNICK, m.Option(ice.MSG_USERNICK, value[USERNICK]),
USERNAME, m.Option(ice.MSG_USERNAME, value[USERNAME]),
USERROLE, m.Option(ice.MSG_USERROLE, kit.Select(UserRole(m, value[USERNAME]))),
)
})
})
}
func _sess_create(m *ice.Message, username string) string {
if m.Richs(USER, nil, username, nil) == nil {