3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-23 19:19:31 +01:00

games: remove explicit random.seed()

AFAIK, random already defaults the seed to the system time, and random.seed() without any arguments thus sets it to something that is already set.
This commit is contained in:
James Lu 2016-05-22 10:28:56 -07:00
parent 8c55eb43e7
commit ed34c43b6c

View File

@ -126,12 +126,5 @@ def fml(irc, source, args):
reply(irc, s)
gameclient.add_cmd(fml)
# loading
def main(irc=None):
"""Main function, called during plugin loading at start."""
# seed the random
random.seed()
def die(irc):
utils.unregisterService('games')