From 62b5dd8120c1d888b415a5b0738c55d811ea2e54 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 30 Nov 2004 04:42:02 +0000 Subject: [PATCH] Added a warning log. --- src/User.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/User.py b/src/User.py index 6fd0a06a7..75a0f166c 100755 --- a/src/User.py +++ b/src/User.py @@ -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'])