Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit c1d4131

Browse files
committed
remove extra space from /NAMES list
1 parent d1de412 commit c1d4131

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

util/irc/server.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,9 @@ function IRCServer:userList(room)
343343
if u == 'root' then
344344
u = '@'..u
345345
end
346+
if count > 1 then
347+
u = ' '..u
348+
end
346349
ulist = ulist .. ' '..u
347350
end
348351
return count, ulist

0 commit comments

Comments
 (0)