diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2013-06-14 00:00:53 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2013-06-14 00:00:53 +0200 |
commit | 9b5c0b141cd333f563691cbb11e4c59094103c8c (patch) | |
tree | 1588ffc9740fc5ae57c3b2e83df285ecf94c2829 | |
parent | 5da7ed157de9b34ec17f975a81b8a2912a45a31e (diff) |
Fixed fetching mode config option.
-rwxr-xr-x | fot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ class Bot(irc.IRCClient): irc.IRCClient.connectionMade(self) def set_usermodes(self): - mode = config.get(self.factory.server, 'mode', None) + mode = config.get(self.factory.server, 'mode') if config.has_option(self.factory.server, 'mode') else None if not mode: return |