Merge branch 'develop' into refresh

Conflicts:
	plugins/factoids.py
	plugins/geoip.py
This commit is contained in:
Luke Rogers 2014-02-14 17:05:52 +13:00
commit 014c4bdc4b
26 changed files with 72 additions and 63 deletions

View file

@ -96,7 +96,7 @@ def decrypt(inp, bot=None, db=None, notice=None):
# get the encoded IV from the database and decode it
iv_encoded = db.execute("select iv from encryption where"
" encrypted=?", (text,)).fetchone()[0]
" encrypted=?", (text,)).fetchone()[0]
iv = base64.b64decode(iv_encoded)
# create AES cipher, decode text, decrypt text, and unpad it