Browse files

Make BroBawt a little more lenient

  • Loading branch information...
1 parent 32d7da2 commit e5c0721435a4c66fcb8eccac6a1473aa337b6b9b @richo committed Feb 12, 2012
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")

0 comments on commit e5c0721

Please sign in to comment.