@@ -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