Software /
code /
prosody
Comparison
core/s2smanager.lua @ 266:34b053c001f8
Update hostname for identi.ca
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 14 Nov 2008 20:30:24 +0000 |
parent | 265:1f851b6f5e11 |
child | 269:3cfac0e5e6ca |
comparison
equal
deleted
inserted
replaced
265:1f851b6f5e11 | 266:34b053c001f8 |
---|---|
22 | 22 |
23 local md5_hash = require "util.hashes".md5; | 23 local md5_hash = require "util.hashes".md5; |
24 | 24 |
25 local dialback_secret = "This is very secret!!! Ha!"; | 25 local dialback_secret = "This is very secret!!! Ha!"; |
26 | 26 |
27 local srvmap = { ["gmail.com"] = "talk.google.com", ["identi.ca"] = "longlance.controlezvous.ca", ["cdr.se"] = "jabber.cdr.se" }; | 27 local srvmap = { ["gmail.com"] = "talk.google.com", ["identi.ca"] = "hampton.controlezvous.ca", ["cdr.se"] = "jabber.cdr.se" }; |
28 | 28 |
29 module "s2smanager" | 29 module "s2smanager" |
30 | 30 |
31 function send_to_host(from_host, to_host, data) | 31 function send_to_host(from_host, to_host, data) |
32 local host = hosts[from_host].s2sout[to_host]; | 32 local host = hosts[from_host].s2sout[to_host]; |