Skip to content

Commit

Permalink
Fix PASS (server password)
Browse files Browse the repository at this point in the history
Totally forgot to hook up the server_password from the factory to the
actual IRC client.
  • Loading branch information
johnmaguire committed Feb 10, 2016
1 parent 3d4ca17 commit 5ca0a3c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cardinal/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ def nickname(self):
def nickname(self, value):
self.factory.nickname = value

@property
def password(self):
"""Twisted.IRCClient server password setting"""
return self.factory.server_password

@password.setter
def password(self, value):
self.factory.server_password = value

@property
def reloads(self):
return self.factory.reloads
Expand Down

0 comments on commit 5ca0a3c

Please sign in to comment.