summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2013-12-10 14:41:28 -0500
committerjoe <joe@jerkface.net>2013-12-10 14:41:28 -0500
commitb7416ca157968c70ab07d47666af188e0ba9acaa (patch)
treec2a37d1da327412ee4508b8f1ca2d5303219d3d5
parent79c4204ff9fb126046945be763c9490edf1c60cf (diff)
Fixed missing-email crash.
-rw-r--r--kiki.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiki.hs b/kiki.hs
index e8f7998..22000d0 100644
--- a/kiki.hs
+++ b/kiki.hs
@@ -431,7 +431,7 @@ parseUID str = UserIDRecord {
431 text = T.pack str 431 text = T.pack str
432 (T.strip-> realname, T.dropAround isBracket-> email) 432 (T.strip-> realname, T.dropAround isBracket-> email)
433 = T.break (=='<') text 433 = T.break (=='<') text
434 (user, T.tail-> hostname) = T.break (=='@') email 434 (user, T.drop 1-> hostname) = T.break (=='@') email
435 ( T.reverse -> topdomain, 435 ( T.reverse -> topdomain,
436 T.reverse . T.drop 1 -> subdomain) 436 T.reverse . T.drop 1 -> subdomain)
437 = T.break (=='.') . T.reverse $ hostname 437 = T.break (=='.') . T.reverse $ hostname