plugins/commands.lua

changeset 16
ae69cea97598
parent 14
3df63aaba9e3
child 33
37caf7bd2021
--- a/plugins/commands.lua	Thu May 20 14:33:09 2010 +0100
+++ b/plugins/commands.lua	Thu May 20 14:33:41 2010 +0100
@@ -18,13 +18,13 @@
 	
 		if command then
 			local command_event = {
-						command = command,
-						param = param,
-						sender = event.sender,
-						stanza = event.stanza,
-						reply = event.reply,
-						room = event.room, -- groupchat support
-					};
+				command = command,
+				param = param,
+				sender = event.sender,
+				stanza = event.stanza,
+				reply = event.reply,
+				room = event.room, -- groupchat support
+			};
 			local ret = bot:event("commands/"..command, command_event);
 			if type(ret) == "string" then
 				event:reply(ret);

mercurial