git » msnlib » commit 9d464d5

Always use lowercase emails

author Alberto Bertogli
2011-04-14 00:06:11 UTC
committer Alberto Bertogli
2011-04-14 00:06:11 UTC
parent c149f1c0e15c9d4bd30dbdec67c5b938c7db7522

Always use lowercase emails

The server will always talk to us using lowercase emails, so we want to do
the same so we don't have any issues with dictionary lookups.

Thanks to Chris Hancock who reported the bug.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

msn +1 -1

diff --git a/msn b/msn
index 2bc2558..8464969 100755
--- a/msn
+++ b/msn
@@ -1660,7 +1660,7 @@ config['profile'] = profile
 
 # set the mandatory values
 if config.has_key('email'):
-	m.email = config['email']
+	m.email = config['email'].lower()
 else:
 	perror('Error: email not specified in config file\n')
 	quit(1)