Browse Source

make "PUBLIC:" prefix for public messages case-sensitive

Helge Jung 9 years ago
parent
commit
ebd996f265
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/ffpb.py

+ 1 - 1
modules/ffpb.py

@@ -55,7 +55,7 @@ class MsgHandler(SocketServer.BaseRequestHandler):
 
         target = bot.config.core.owner
         if bot.config.has_section('ffpb'):
-            is_public = data.lstrip().lower().startswith("public:")
+            is_public = data.lstrip().startswith("PUBLIC:")
 
             if is_public and not bot.config.ffpb.msg_target_public is None:
                 data = data[7:].lstrip()