forked from nortti/tea_cah
Don't try to identify with no password
This commit is contained in:
parent
8c09399ef7
commit
23d681833c
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue