Diff

client.lua @ 52:8416508bfeb4

verse.client: Add verse.error_reply() helper
author Matthew Wild <mwild1@gmail.com>
date Thu, 06 May 2010 10:24:37 +0100
parent 50:432ac110544f
child 62:d4b6f9e33c6e
line wrap: on
line diff
--- a/client.lua	Thu Apr 29 22:08:14 2010 +0100
+++ b/client.lua	Thu May 06 10:24:37 2010 +0100
@@ -6,8 +6,8 @@
 local st = require "util.stanza";
 
 -- Shortcuts to save having to load util.stanza
-verse.message, verse.presence, verse.iq, verse.stanza, verse.reply = 
-	st.message, st.presence, st.iq, st.stanza, st.reply;
+verse.message, verse.presence, verse.iq, verse.stanza, verse.reply, verse.error_reply =
+	st.message, st.presence, st.iq, st.stanza, st.reply, st.error_reply;
 
 local init_xmlhandlers = require "core.xmlhandlers";