Comparison

mod_admin_web/admin_web/mod_admin_web.lua @ 1343:7dbde05b48a9

all the things: Remove trailing whitespace
author Florian Zeitz <florob@babelmonkeys.de>
date Tue, 11 Mar 2014 18:44:01 +0100
parent 1118:e5441d46d6ff
child 1646:95b8b1f9a882
comparison
equal deleted inserted replaced
1342:0ae065453dc9 1343:7dbde05b48a9
203 module:log("warn", "Could not create node " .. xmlns_s2s_session .. ": " .. tostring(err)); 203 module:log("warn", "Could not create node " .. xmlns_s2s_session .. ": " .. tostring(err));
204 else 204 else
205 service[module.host]:set_affiliation(xmlns_s2s_session, true, module.host, "owner") 205 service[module.host]:set_affiliation(xmlns_s2s_session, true, module.host, "owner")
206 end 206 end
207 207
208 -- Add outgoing s2s sessions 208 -- Add outgoing s2s sessions
209 for remotehost, session in pairs(hosts[module.host].s2sout) do 209 for remotehost, session in pairs(hosts[module.host].s2sout) do
210 if session.type ~= "s2sout_unauthed" then 210 if session.type ~= "s2sout_unauthed" then
211 add_host(session, "out", module.host); 211 add_host(session, "out", module.host);
212 end 212 end
213 end 213 end
214 214
215 -- Add incomming s2s sessions 215 -- Add incomming s2s sessions
216 for session in pairs(incoming_s2s) do 216 for session in pairs(incoming_s2s) do
217 if session.to_host == module.host then 217 if session.to_host == module.host then
218 add_host(session, "in", module.host); 218 add_host(session, "in", module.host);
219 end 219 end
220 end 220 end