Added a warning log.

This commit is contained in:
Jeremy Fincher 2004-11-30 04:42:02 +00:00
parent 65b369ffd4
commit 62b5dd8120
1 changed files with 2 additions and 0 deletions

View File

@ -347,6 +347,8 @@ class User(callbacks.Privmsg):
irc.error('Your secure flag is true and your hostmask '
'doesn\'t match any of your known hostmasks.')
else:
self.log.warning('Failed identification attempt by %s (password '
'did not match for %s).', msg.prefix, user.name)
irc.error(conf.supybot.replies.incorrectAuthentication())
identify = wrap(identify, ['private', 'otherUser', 'something'])