Преглед изворни кода

Add missing semicolons

master
Sam Whited пре 8 година
родитељ
комит
c951f7f3e9
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3
    3
      prosody-plugins/mod_auth_token.lua

+ 3
- 3
prosody-plugins/mod_auth_token.lua Прегледај датотеку

@@ -115,7 +115,7 @@ function get_public_key(keyId)
115 115
 		return content;
116 116
 	end
117 117
 
118
-	return nil
118
+	return nil;
119 119
 end
120 120
 
121 121
 function provider.get_sasl_handler(session)
@@ -126,7 +126,7 @@ function provider.get_sasl_handler(session)
126 126
 
127 127
 		if token == nil then
128 128
 			if allowEmptyToken then
129
-				return true
129
+				return true;
130 130
 			else
131 131
 				return false, "not-allowed", "token required";
132 132
 			end
@@ -157,7 +157,7 @@ function provider.get_sasl_handler(session)
157 157
 		if result == true then
158 158
 			-- Binds room name to the session which is later checked on MUC join
159 159
 			session.jitsi_meet_room = room;
160
-			return true
160
+			return true;
161 161
 		else
162 162
 			return false, "not-allowed", msg
163 163
 		end

Loading…
Откажи
Сачувај