Changeset

141:15706f6492ae

verse: Fix set_logger() to set verse.log() correctly
author Matthew Wild <mwild1@gmail.com>
date Wed, 15 Sep 2010 16:51:17 +0100
parents 140:97bf22d6ff96
children 142:ea753bc81a33
files init.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/init.lua	Wed Sep 15 16:31:24 2010 +0100
+++ b/init.lua	Wed Sep 15 16:51:17 2010 +0100
@@ -31,7 +31,7 @@
 verse.log = verse.logger("verse");
 
 function verse.set_logger(logger)
-	verse.log = logger("verse");
+	verse.log = logger;
 	server.setlogger(logger);
 end