Browse Source

ffpb: fix stupid comparison mistake

Helge Jung 10 years ago
parent
commit
63a612c072
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/ffpb.py

+ 1 - 1
modules/ffpb.py

@@ -46,7 +46,7 @@ class ThreadingTCPServer(SocketServer.ThreadingMixIn, SocketServer.TCPServer):
 def setup(bot):
 	global msgserver
 
-	if bot.config.has_section('ffpb') and bot.config.ffpb.msg_enable == 1:
+	if bot.config.has_section('ffpb') and int(bot.config.ffpb.msg_enable) == 1:
 		host = "localhost"
 		port = 2342
 		if not bot.config.ffpb.msg_host is None: host = bot.config.ffpb.msg_host