1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-04-30 17:49:08 -04:00

rename RegisterApp to Register

This commit is contained in:
v2ray
2016-05-11 12:05:58 -07:00
parent c224f67666
commit a37819c330
4 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ func (this *contextedDnsCache) Add(domain string, ip net.IP) {
}
func init() {
app.RegisterApp(APP_ID, func(context app.Context, obj interface{}) interface{} {
app.Register(APP_ID, func(context app.Context, obj interface{}) interface{} {
dcContext := obj.(dnsCacheWithContext)
return &contextedDnsCache{
context: context,