mirror of https://github.com/Hilbis/Hilbish
fix: only print motd when interactive
parent
3dcd99563a
commit
20870b9004
|
@ -7,7 +7,7 @@ anymore, that will definitely be why! A MOTD, very message, much day.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
bait.catch('hilbish.init', function()
|
bait.catch('hilbish.init', function()
|
||||||
if hilbish.opts.motd then
|
if hilbish.interactive and hilbish.opts.motd then
|
||||||
print(lunacolors.format(hilbish.motd))
|
print(lunacolors.format(hilbish.motd))
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue