summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chat.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/chat.lua b/chat.lua
index 30ba4d3..8fad798 100644
--- a/chat.lua
+++ b/chat.lua
@@ -117,7 +117,7 @@ local function log_msg(W,user,text,score)
st(colors.white) wr"<" st(colors.orange) wr(user) st(colors.white) wr"> ("
st(colors.cyan) wr(score) st(colors.white) wr(") ") st(colors.lightGray)
- local x,y = W.getCursorPos
+ local x,y = W.getCursorPos()
local remsp = w-x+1
if remsp >= 3 then
if #text > remsp then