From 572bff008745c0e5fa57b349f7a793924eccb387 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 5 Mar 2022 10:57:47 +0000 Subject: net.stun: Hyphenate method names for consistency --- net/stun.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net') diff --git a/net/stun.lua b/net/stun.lua index a718d4ef..f028b2fc 100644 --- a/net/stun.lua +++ b/net/stun.lua @@ -41,8 +41,8 @@ local methods = { refresh = 0x004; send = 0x006; data = 0x007; - create_permission = 0x008; - channel_bind = 0x009; + ["create-permission"] = 0x008; + ["channel-bind"] = 0x009; }; local method_lookup = {}; for name, value in pairs(methods) do -- cgit v1.2.3