diff options
Diffstat (limited to 'server/src/log.lua')
-rw-r--r-- | server/src/log.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/log.lua b/server/src/log.lua index 7ebb55cf..d8e782c0 100644 --- a/server/src/log.lua +++ b/server/src/log.lua @@ -8,7 +8,7 @@ log.size = 0 log.max_size = 100 * 1024 * 1024 local function trim_src(src) - src = src:sub(log.prefix_len + 1, -5) + src = src:sub(log.prefix_len + 3, -5) src = src:gsub('^[/\\]+', '') src = src:gsub('[\\/]+', '.') return src |