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,6 +286,7 @@ def initialize(*, config):
|
||||||
def on_connect(*, irc):
|
def on_connect(*, irc):
|
||||||
global nickserv_pass
|
global nickserv_pass
|
||||||
|
|
||||||
|
if nickserv_pass != '':
|
||||||
irc.msg(b'nickserv', b'IDENTIFY ' + nickserv_pass.encode())
|
irc.msg(b'nickserv', b'IDENTIFY ' + nickserv_pass.encode())
|
||||||
time.sleep(30) # One day I will do this correctly. Today is not the day
|
time.sleep(30) # One day I will do this correctly. Today is not the day
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue