refactor(dns): make server-specific Lua registration private

This commit is contained in:
Meo597
2026-10-04 05:41:34 +08:00
parent 399563b6d9
commit 745526f14c
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ func RegisterLua(L *lua.LState, client featureDNS.Client) {
registerLua(L, servers, client)
}
// RegisterLua makes xray.dns available to DNS scripts.
func (s *DNS) RegisterLua(L *lua.LState) {
// registerLua makes xray.dns available to DNS scripts.
func (s *DNS) registerLua(L *lua.LState) {
registerLua(L, luaServers(s), nil)
}