Software /
code /
prosody
File
doc/lxmppd_core_rostermanager.txt @ 2057:ee2929e620bb
server.lua: Add addsocket(), refactor all code to use it, fixes nasty socket object leak - moral of the story is to not duplicate code, and not prematurely optimise. But you knew that already didn't you?
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 26 Oct 2009 23:29:04 +0000 |
parent | 23:236375777f8c |
line wrap: on
line source
lxmppd -> core -> rostermanager.lua requires "util.datamanager" module "rostermanager" function log(type, message) logs a message of type "rostermanager" function getroster(username, host) Retrieves the user's roster from the server and loads it with the datamanager