mirror of
https://codeberg.org/metamuffin/abrechenbarkeit.git
synced 2024-12-29 16:14:36 +00:00
case insensitve users prefix
This commit is contained in:
parent
771646a2b3
commit
c24818388f
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ local function r_users(show_special)
|
|||
print([[<ul class="userlist">]])
|
||||
local show_user = function(user)
|
||||
local is_spu = user.name:sub(1, 1) == "@"
|
||||
local filter_out = query.prefix ~= nil and user.name:sub(1,1) ~= query.prefix
|
||||
local filter_out = query.prefix ~= nil and user.name:sub(1,1):lower() ~= query.prefix
|
||||
if is_spu == show_special and not filter_out then
|
||||
print(format([[<li>
|
||||
<a href="/{username_url}">
|
||||
|
|
Loading…
Reference in a new issue