Software /
code /
prosody-modules
Comparison
mod_ircd/mod_ircd.in.lua @ 490:00b77a9f2d5f
mod_ircd: "yatc" (yet another typo correction)
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Fri, 02 Dec 2011 04:41:31 +0000 |
parent | 489:067bbff6e5bd |
child | 491:5b3db688213d |
comparison
equal
deleted
inserted
replaced
489:067bbff6e5bd | 490:00b77a9f2d5f |
---|---|
242 result = count + 1; | 242 result = count + 1; |
243 | 243 |
244 if count > 0 then return tostring(un)..tostring(result); else return tostring(un); end | 244 if count > 0 then return tostring(un)..tostring(result); else return tostring(un); end |
245 end | 245 end |
246 local function change_nick_st(fulljid, roomjid, tonick) | 246 local function change_nick_st(fulljid, roomjid, tonick) |
247 return st.presence({ from = fulljid, to = newjid, type = "unavailable" }):tag("status"):text("Changing nickname to: "..tonick):up(); | 247 return st.presence({ from = fulljid, to = roomjid, type = "unavailable" }):tag("status"):text("Changing nickname to: "..tonick):up(); |
248 end | 248 end |
249 local function set_t_data(session, full_jid) | 249 local function set_t_data(session, full_jid) |
250 session.full_jid = full_jid; | 250 session.full_jid = full_jid; |
251 jids[full_jid] = session; | 251 jids[full_jid] = session; |
252 jids[full_jid]["ar_last"] = {}; | 252 jids[full_jid]["ar_last"] = {}; |