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 | 538620add408ab838ecd6271ea18f5dafab199a0 (patch) | |
tree | 0a5d39b299704409487b4b2fd6628c58ece6898b | |
parent | ae0fdd43a4248bda8d1f3d01ab592dff0412b574 (diff) | |
download | prosody-538620add408ab838ecd6271ea18f5dafab199a0.tar.gz prosody-538620add408ab838ecd6271ea18f5dafab199a0.zip |
util.logger: Remove some redundant code
-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, ...); |