From ea788bb7573ec93a49ad4d28efc59b7f7e590349 Mon Sep 17 00:00:00 2001 From: Joshua Simmons Date: Mon, 19 Jul 2010 09:49:18 +1000 Subject: [PATCH] Really helps when you run code before comitting --- asyncoperations.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asyncoperations.lua b/asyncoperations.lua index 2b51224..8edd916 100644 --- a/asyncoperations.lua +++ b/asyncoperations.lua @@ -28,14 +28,14 @@ end function meta:sendChat(target, msg) -- Split the message into segments if it includes newlines. - for line in msg:gmatch("([^\r\n]+)") + for line in msg:gmatch("([^\r\n]+)") do self:send("PRIVMSG %s :%s", verify(target, 3), msg) end end function meta:sendNotice(target, msg) -- Split the message into segments if it includes newlines. - for line in msg:gmatch("([^\r\n]+)") + for line in msg:gmatch("([^\r\n]+)") do self:send("NOTICE %s :%s", verify(target, 3), msg) end end