Skip to content

Commit

Permalink
mumble: tag guests
Browse files Browse the repository at this point in the history
  • Loading branch information
raylu committed Mar 18, 2015
1 parent 5e2a59c commit cdac134
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mumble.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def authenticate(self, name, pw, certificates, certhash, certstrong, current=Non
try:
db.session.query(db.User).filter(db.User.username==name).one()
except NoResultFound:
new_name = '[G] ' + name
return random.randint(1000000000, 2147483647), new_name, [] # guest

user = db.User.login(name, pw)
Expand Down

0 comments on commit cdac134

Please sign in to comment.