Changeset

12367:7a2f036f73b3

net.stun: Hyphenate method names for consistency
author Matthew Wild <mwild1@gmail.com>
date Sat, 05 Mar 2022 10:57:47 +0000 (2022-03-05)
parents 12366:c640717e01ca
children 12368:d82c8efc6dd5
files net/stun.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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