diff --git a/src/init.lua b/src/init.lua index 9a73e33..86e3bfa 100644 --- a/src/init.lua +++ b/src/init.lua @@ -33,9 +33,8 @@ irc.DEBUG = ((mt_irc.debug and true) or false); if (not mt_irc.server_nick) then local pr = PseudoRandom(os.time()); -- Workaround for bad distribution in minetest PRNG implementation. - local fmt = "minetest-%02X%02X%02X%02X"; + local fmt = "minetest-%02X%02X%02X"; mt_irc.server_nick = fmt:format( - pr:next(0, 255), pr:next(0, 255), pr:next(0, 255), pr:next(0, 255)