plugins/groupchat.lua

changeset 60
87ecc6324155
parent 56
cb7656ee4dd8
child 67
12e2c702eddc
--- a/plugins/groupchat.lua	Mon Feb 21 01:05:48 2011 +0100
+++ b/plugins/groupchat.lua	Mon Feb 21 01:22:08 2011 +0100
@@ -47,7 +47,7 @@
 				if not reply then reply = "Nothing to say to you"; end
 				if replied then return false; end
 				replied = true;
-				if r.attr.type == "groupchat" then
+				if r.attr.type == "groupchat" and reply:sub(1,4) ~= "/me " then
 					reply = event.sender.nick..": "..reply;
 				end
 				room:send(r:tag("body"):text(reply));

mercurial