Remove newlines from replies

This commit is contained in:
ShadowNinja 2014-07-07 23:22:52 -04:00
parent e92eec3987
commit 12b1b07afe
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ function irc:reply(message)
if not self.last_from then
return
end
message = message:gsub("[\r\n%z]", " \\n ")
self:say(self.last_from, message)
end