# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1454607624 -3600
# Node ID ae1d53c2f5980bff58eb9701e3ff35c7f016ce53
# Parent  4a5619a87b444fa19250b0c67f101da5842a32dd
loggingmanager: Remove Windows hack, buffer_mode should fix this

diff -r 4a5619a87b44 -r ae1d53c2f598 core/loggingmanager.lua
--- a/core/loggingmanager.lua	Thu Feb 04 17:57:12 2016 +0100
+++ b/core/loggingmanager.lua	Thu Feb 04 18:40:24 2016 +0100
@@ -16,13 +16,6 @@
 local os_date = os.date;
 local getstyle, getstring = require "util.termcolours".getstyle, require "util.termcolours".getstring;
 
--- COMPAT: This should no longer be needed since the addition of setvbuf calls
-if os.getenv("__FLUSH_LOG") then
-	local io_flush = io.flush;
-	local _io_write = io_write;
-	io_write = function(...) _io_write(...); io_flush(); end
-end
-
 local config = require "core.configmanager";
 local logger = require "util.logger";
 local prosody = prosody;