Fix redminebot
This commit is contained in:
parent
36375da7c7
commit
e70a5ba181
@ -76,7 +76,8 @@ class Bot(object):
|
|||||||
with open("password.txt", 'r') as f:
|
with open("password.txt", 'r') as f:
|
||||||
password = f.read()
|
password = f.read()
|
||||||
if registered == True:
|
if registered == True:
|
||||||
self.ircsock.send("PRIVMSG {} {} {} {}".format("NickServ","IDENTIFY", self.botnick, password))
|
print("PRIVMSG {} {} {}".format("NickServ","IDENTIFY",password))
|
||||||
|
self.ircsock.send("PRIVMSG {} :{} {} {}".format("NickServ","IDENTIFY", self.botnick, password))
|
||||||
|
|
||||||
def add_project(self, project):
|
def add_project(self, project):
|
||||||
project.set_ircsock ( self.ircsock )
|
project.set_ircsock ( self.ircsock )
|
||||||
|
Loading…
Reference in New Issue
Block a user