Don't show the whole email address, just the part before @
authorJaroslav Tulach <jtulach@netbeans.org>
Wed, 17 Feb 2010 22:21:43 +0100
changeset 229a11db9324580
parent 228 3ea04696a115
child 230 a80ccd2a4517
Don't show the whole email address, just the part before @
emailer/src/main/scala/cz/xelfi/quoridor/emailer/Notify.scala
     1.1 --- a/emailer/src/main/scala/cz/xelfi/quoridor/emailer/Notify.scala	Tue Feb 16 01:22:36 2010 +0100
     1.2 +++ b/emailer/src/main/scala/cz/xelfi/quoridor/emailer/Notify.scala	Wed Feb 17 22:21:43 2010 +0100
     1.3 @@ -44,7 +44,7 @@
     1.4      val ret = allPlayers()
     1.5  
     1.6      for (val address <- emails(ret.keySet)) {
     1.7 -        Console.println("Sending message to " + address)
     1.8 +        Console.println("Sending message to " + address.split('@')(0))
     1.9  
    1.10          sendEmail(
    1.11            "quoridor@xelfi.cz",