Diff

mod_adhoc/adhoc/mod_adhoc.lua @ 109:9b63fd1196c0

mod_adhoc_cmd*: Don't explicitly remove items. Handled by Prosody itself already mod_adhoc: Remove superfluous space
author Florian Zeitz <florob@babelmonkeys.de>
date Wed, 09 Dec 2009 23:08:19 +0100
parent 93:611d16867410
child 121:a9898f13c89e
line wrap: on
line diff
--- a/mod_adhoc/adhoc/mod_adhoc.lua	Tue Dec 08 21:29:41 2009 +0100
+++ b/mod_adhoc/adhoc/mod_adhoc.lua	Wed Dec 09 23:08:19 2009 +0100
@@ -50,7 +50,7 @@
 end, 500);
 
 module:hook("item-added/adhoc", function (event)
-	commands[ # commands + 1] = event.item;
+	commands[ #commands + 1] = event.item;
 end, 500);
 
 local _G = _G;