diff --git a/botcmd.py b/botcmd.py index 9946435..ff1b3de 100644 --- a/botcmd.py +++ b/botcmd.py @@ -286,8 +286,9 @@ def initialize(*, config): def on_connect(*, irc): global nickserv_pass - irc.msg(b'nickserv', b'IDENTIFY ' + nickserv_pass.encode()) - time.sleep(30) # One day I will do this correctly. Today is not the day + if nickserv_pass != '': + irc.msg(b'nickserv', b'IDENTIFY ' + nickserv_pass.encode()) + time.sleep(30) # One day I will do this correctly. Today is not the day stop_gameloop() start_gameloop(irc)