Skip to content

Commit

Permalink
Import session into bans
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregory Haynes committed Nov 21, 2009
1 parent 69800ec commit a73b7db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pyscripts/Bans/bans.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
del config
kick_message = string.Template(kick_message)

session = dbmanager.session()

@commandHandler('ban')
@masterRequired
def onBanCmd(cn, text):
Expand Down

0 comments on commit a73b7db

Please sign in to comment.