Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Commit

Permalink
[PACKAGES] Remove user access to packages
Browse files Browse the repository at this point in the history
  • Loading branch information
aquarion committed Mar 4, 2012
1 parent c614dcc commit 5847689
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lampstand/reactions/package.py
Expand Up @@ -51,7 +51,12 @@ def reset(self):
self.this_channel = False

def channelAction(self, connection, user, channel, message, index):


if not user.lower() == "aquarion":
print "Bomb disabled"
connection.msg(user, "The packages function has been disabled due to overuse beyond funny. Well done.")
return False

if self.overUsed():
connection.msg(user, "Overuse Triggered" )
return True
Expand Down

0 comments on commit 5847689

Please sign in to comment.