From 9c8c112bb3957ce80ffae27eab3e3c1a13989ab0 Mon Sep 17 00:00:00 2001 From: TiagoDanin Date: Wed, 15 Jun 2016 14:21:12 -0500 Subject: [PATCH] Revert limit of 17 char --- otouto/plugins/shout.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/otouto/plugins/shout.lua b/otouto/plugins/shout.lua index e8d3a88..3c1af21 100644 --- a/otouto/plugins/shout.lua +++ b/otouto/plugins/shout.lua @@ -30,7 +30,7 @@ function shout:action(msg) local inc = 0 local ilen = 0 for match in input:gmatch(utilities.char.utf_8) do - if ilen < 18 then + if ilen < 20 then ilen = ilen + 1 output = output .. match .. ' ' end @@ -38,7 +38,7 @@ function shout:action(msg) ilen = 0 output = output .. '\n' for match in input:sub(2):gmatch(utilities.char.utf_8) do - if ilen < 18 then + if ilen < 19 then local spacing = '' for _ = 1, inc do spacing = spacing .. ' '