Commit 9b6dd8b5 authored by Andrew Price's avatar Andrew Price
Browse files

Display the whole realname in the who list

Makes sure multibyte chars aren't truncated.
parent 661fd23e
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ void display_wholist(int mode)

			if (json_getint(perms, "wizchat") > 0) chat='*';

			format_message("%c%-*s %-20.20s %6s Room %d (%s,%s,%s)\033--",chat,NAMESIZE,name,realname,itime(now-idletime),channel, chatmode, prot, chatprivs);
			format_message("%c%-*s %-30.30s %6s Room %d (%s,%s,%s)\033--",chat,NAMESIZE,name,realname,itime(now-idletime),channel, chatmode, prot, chatprivs);
		}
	}
	format_message("%s", divider);