Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make BroBawt a little more lenient

  • Loading branch information...
commit e5c0721435a4c66fcb8eccac6a1473aa337b6b9b 1 parent 32d7da2
@richo richo authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  modules.d/bro.py
View
3  modules.d/bro.py
@@ -4,5 +4,6 @@ class BroModule(BawtM2):
_name = "BroModule"
def handle_privmsg(self, msg):
- if "bro" not in msg.data_segment:
+ data = msg.data_segment.lower()
+ if "bro" not in data and "brah" not in data:
self.parent.kick(msg.replyto, msg.nick, "browned")
Please sign in to comment.
Something went wrong with that request. Please try again.