--- a/mcabbot.lua Sat Apr 17 15:44:09 2010 +0200
+++ b/mcabbot.lua Sat Apr 17 18:55:32 2010 +0200
@@ -33,8 +33,11 @@
muc = true
end
if muc == true then
- if h.delayed == "" and h.attention and h.attention == "true" then
- if h.resource and h.resource ~= mcabbot.nickname then
+ if h.delayed == "" then
+ if mcabbot.cmdprefix and message:starts(mcabbot.cmdprefix) then
+ perso = true
+ elseif h.attention and h.attention == "true" and
+ h.resource and h.resource ~= mcabbot.nickname then
perso = true
end
end