Software / code / prosody-modules
Comparison
mod_admin_web/admin_web/mod_admin_web.lua @ 2871:c3317f61f3f9
mod_admin_web: Fix typo in comment [codespell]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 04 Feb 2018 15:58:09 +0100 |
| parent | 1865:db8b256f51ff |
| child | 3549:b059a3fb2a58 |
comparison
equal
deleted
inserted
replaced
| 2870:d8325dfb6a13 | 2871:c3317f61f3f9 |
|---|---|
| 221 if session.type ~= "s2sout_unauthed" then | 221 if session.type ~= "s2sout_unauthed" then |
| 222 add_host(session, "out", module.host); | 222 add_host(session, "out", module.host); |
| 223 end | 223 end |
| 224 end | 224 end |
| 225 | 225 |
| 226 -- Add incomming s2s sessions | 226 -- Add incoming s2s sessions |
| 227 for session in pairs(incoming_s2s) do | 227 for session in pairs(incoming_s2s) do |
| 228 if session.to_host == module.host then | 228 if session.to_host == module.host then |
| 229 add_host(session, "in", module.host); | 229 add_host(session, "in", module.host); |
| 230 end | 230 end |
| 231 end | 231 end |