summaryrefslogtreecommitdiff
path: root/rirc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rirc.lua')
-rw-r--r--rirc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rirc.lua b/rirc.lua
index b341bfd..95445ad 100644
--- a/rirc.lua
+++ b/rirc.lua
@@ -18,8 +18,8 @@ function irc.send(sock, args)
end
local last = tostring(args[#args]):gsub("[\r\n]+"," ")
out = out .. ':' .. last
- print('>', out)
sock:write(out..'\r\n')
+ return out
end
function irc.parse(line)