Diff

init.lua @ 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
parent 135:8adf5fb27ce3
child 142:ea753bc81a33
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