Skip to content

Commit

Permalink
AuthCore does not bitch anymore about setting an empty password
Browse files Browse the repository at this point in the history
  • Loading branch information
Gjum committed Jan 9, 2016
1 parent 1f6fb0e commit 6125aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spockbot/plugins/core/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def set_username(self, username):
username = property(get_username, set_username)

def set_password(self, password):
if not self.online_mode:
if password and not self.online_mode:
logger.warning("PASSWORD PROVIDED WITH ONLINE_MODE == FALSE")
logger.warning("YOU PROBABLY DIDN'T WANT TO DO THAT")
self.ygg.password = password
Expand Down

0 comments on commit 6125aa9

Please sign in to comment.