diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-06-25 00:16:08 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-06-25 00:16:08 +0100 |
commit | 23b199bd3a4a4f735ef5f046d23372cd3d2aed7f (patch) | |
tree | 0a5d39b299704409487b4b2fd6628c58ece6898b /util/logger.lua | |
parent | 89b96a2c5f175dc72b3954ce74bbf69f93cf607c (diff) | |
download | prosody-23b199bd3a4a4f735ef5f046d23372cd3d2aed7f.tar.gz prosody-23b199bd3a4a4f735ef5f046d23372cd3d2aed7f.zip |
util.logger: Remove some redundant code
Diffstat (limited to 'util/logger.lua')
-rw-r--r-- | util/logger.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/util/logger.lua b/util/logger.lua index 4fadb4b9..26206d4d 100644 --- a/util/logger.lua +++ b/util/logger.lua @@ -23,8 +23,6 @@ function init(name) local log_warn = make_logger(name, "warn"); local log_error = make_logger(name, "error"); - --name = nil; -- While this line is not commented, will automatically fill in file/line number info - local namelen = #name; return function (level, message, ...) if level == "debug" then return log_debug(message, ...); |