From 6eb8ff0bd84c1a55255bc9977ab9954e2f3ef8b9 Mon Sep 17 00:00:00 2001 From: rxi Date: Thu, 10 Apr 2014 12:34:30 +0100 Subject: [PATCH] Renamed var overrideprint -> wrapprint --- lovebird.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lovebird.lua b/lovebird.lua index 75dc885..983d0ac 100644 --- a/lovebird.lua +++ b/lovebird.lua @@ -3,7 +3,7 @@ socket = require "socket" local lovebird = { _version = "0.0.1" } lovebird.inited = false -lovebird.overrideprint = true +lovebird.wrapprint = true lovebird.host = "*" lovebird.port = 8000 lovebird.whitelist = { "127.0.0.1", "localhost" } @@ -135,7 +135,7 @@ function lovebird.init() lovebird.server = assert(socket.bind(lovebird.host, lovebird.port)) lovebird.addr, lovebird.port = lovebird.server:getsockname() lovebird.server:settimeout(0) - if lovebird.overrideprint then + if lovebird.wrapprint then local oldprint = print print = function(...) oldprint(...)