Fix redminebot
This commit is contained in:
parent
24b4f8ac26
commit
529e410f1e
@ -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