Permalink
Newer
Older
100644 10 lines (8 sloc) 288 Bytes
1
class BroModule(BawtM2):
2
privmsg_re = ".*"
3
privmsg_flags = re.I
4
_name = "BroModule"
5
6
def handle_privmsg(self, msg):
7
data = msg.data_segment.lower()
8
if "bro" not in data and "brah" not in data:
9
self.parent.kick(msg.replyto, msg.nick, "browned")