Skip to content
Browse files

Add a really badly written module for booting anyone who's not a bro

(This is what brogramming looks like. It's not pretty)
  • Loading branch information...
1 parent 2dd541b commit 32d7da2b59dbf4b299913ccac68bfce269066b44 @richo committed Feb 12, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 modules.d/bro.py
View
8 modules.d/bro.py
@@ -0,0 +1,8 @@
+class BroModule(BawtM2):
+ privmsg_re = ".*"
+ privmsg_flags = re.I
+ _name = "BroModule"
+
+ def handle_privmsg(self, msg):
+ if "bro" not in msg.data_segment:
+ self.parent.kick(msg.replyto, msg.nick, "browned")

0 comments on commit 32d7da2

Please sign in to comment.
Something went wrong with that request. Please try again.