瀏覽代碼

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

Loading…
取消
儲存