Skip to content
Browse files

Fix TypeError from noteout invocation when NickServ auth fails

  • Loading branch information...
1 parent 3ce77d4 commit b3ac6ea0f9232e5727f1491d8ecc85d78f35811d @chaos95 chaos95 committed Apr 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 pyGBot/Plugins/system/Auth.py
View
2 pyGBot/Plugins/system/Auth.py
@@ -138,7 +138,7 @@ def msg_notice(self, user, message):
self.bot.noteout(uname, 'You do not have an account. Successfully authorized as a guest user.')
log.logger.info('Auth: Invalid user level for user %s. Set to default.' % uname)
else:
- self.bot.noteout('Authorization unsuccessful. Please log in to NickServ and try again.')
+ self.bot.noteout(uname, 'Authorization unsuccessful. Please log in to NickServ and try again.')
def channel_names(self, channel, nameslist):
log.logger.info("Users on #" + channel + ": " + ', '.join(nameslist))

0 comments on commit b3ac6ea

Please sign in to comment.
Something went wrong with that request. Please try again.