projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f41e43f
)
Add host field to local host sessions
author
Matthew Wild
<mwild1@gmail.com>
Sat, 8 Nov 2008 20:32:30 +0000
(20:32 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Sat, 8 Nov 2008 20:32:30 +0000
(20:32 +0000)
main.lua
patch
|
blob
|
history
diff --git
a/main.lua
b/main.lua
index ec883234d53881c8b05f151f08b62c42ec745b0c..eac26fe5fd188a87e79784ed2f7d2c77176d1b31 100644
(file)
--- a/
main.lua
+++ b/
main.lua
@@
-17,7
+17,7
@@
hosts = {};
if config.hosts and #config.hosts > 0 then
for _, host in pairs(config.hosts) do
- hosts[host] = {type = "local", connected = true, sessions = {}};
+ hosts[host] = {type = "local", connected = true, sessions = {}
, host = host
};
end
else error("No hosts defined in the configuration file"); end