Skip to content
Snippets Groups Projects
Commit ebd996f2 authored by Helge Jung's avatar Helge Jung
Browse files

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

parent 735427a6
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment