diff 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
parents 067bbff6e5bd
children 5b3db688213d
line wrap: on
line diff
--- a/mod_ircd/mod_ircd.in.lua	Fri Dec 02 04:29:06 2011 +0000
+++ b/mod_ircd/mod_ircd.in.lua	Fri Dec 02 04:41:31 2011 +0000
@@ -244,7 +244,7 @@
 	if count > 0 then return tostring(un)..tostring(result); else return tostring(un); end
 end
 local function change_nick_st(fulljid, roomjid, tonick)
-	return st.presence({ from = fulljid, to = newjid, type = "unavailable" }):tag("status"):text("Changing nickname to: "..tonick):up();
+	return st.presence({ from = fulljid, to = roomjid, type = "unavailable" }):tag("status"):text("Changing nickname to: "..tonick):up();
 end
 local function set_t_data(session, full_jid)
 	session.full_jid = full_jid;