Software /
code /
prosody
Comparison
core/rostermanager.lua @ 183:403db3b5c3c2
Combined some lines
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 26 Oct 2008 21:19:49 +0500 |
parent | 177:606c433955e7 |
child | 193:13ac34255c37 |
comparison
equal
deleted
inserted
replaced
182:f5cb6b5a6eb7 | 183:403db3b5c3c2 |
---|---|
9 local loadfile, setfenv, pcall = loadfile, setfenv, pcall; | 9 local loadfile, setfenv, pcall = loadfile, setfenv, pcall; |
10 local pairs, ipairs = pairs, ipairs; | 10 local pairs, ipairs = pairs, ipairs; |
11 | 11 |
12 local hosts = hosts; | 12 local hosts = hosts; |
13 | 13 |
14 require "util.datamanager" | 14 local datamanager = require "util.datamanager" |
15 | |
16 local datamanager = datamanager; | |
17 local st = require "util.stanza"; | 15 local st = require "util.stanza"; |
18 | 16 |
19 module "rostermanager" | 17 module "rostermanager" |
20 | 18 |
21 function add_to_roster(session, jid, item) | 19 function add_to_roster(session, jid, item) |