From 917a6f0ac05354849a1dd5e2f530c9877439d95b Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Thu, 25 Aug 2016 13:45:16 +0200 Subject: [PATCH] Stats-Fix --- otouto/plugins/stats.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/otouto/plugins/stats.lua b/otouto/plugins/stats.lua index b08dc28..3e24137 100644 --- a/otouto/plugins/stats.lua +++ b/otouto/plugins/stats.lua @@ -21,9 +21,9 @@ function stats:user_print_name(user) local text = '' if user.first_name then - text = user.last_name..' ' + text = user.first_name..' ' end - if user.lastname then + if user.last_name then text = text..user.last_name end