net.stun: Hyphenate method names for consistency
authorMatthew Wild <mwild1@gmail.com>
Sat, 05 Mar 2022 10:57:47 +0000
changeset 12371 7a2f036f73b3
parent 12370 c640717e01ca
child 12372 d82c8efc6dd5
net.stun: Hyphenate method names for consistency
net/stun.lua
--- a/net/stun.lua	Fri Mar 04 19:48:01 2022 +0000
+++ b/net/stun.lua	Sat Mar 05 10:57:47 2022 +0000
@@ -41,8 +41,8 @@
 	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