From 9b5c0b141cd333f563691cbb11e4c59094103c8c Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Fri, 14 Jun 2013 00:00:53 +0200 Subject: Fixed fetching mode config option. --- fot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fot.py b/fot.py index 387b426..674b042 100755 --- a/fot.py +++ b/fot.py @@ -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 -- cgit v1.2.3