repositories
/
cloogle-irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5d6131
)
Fix hostname parsing for cloaked hostnames
author
Mart Lubbers
<mart@martlubbers.net>
Tue, 18 Jul 2017 12:22:09 +0000
(14:22 +0200)
committer
Mart Lubbers
<mart@martlubbers.net>
Tue, 18 Jul 2017 12:22:09 +0000
(14:22 +0200)
IRC.icl
patch
|
blob
|
history
diff --git
a/IRC.icl
b/IRC.icl
index
f51bc8a
..
8d8d9fe
100644
(file)
--- a/
IRC.icl
+++ b/
IRC.icl
@@
-86,7
+86,7
@@
where
>>= \s->optional (pToken '.') >>= pure o maybe s (\p->s+++toString s)
where
parseName :: Parser Char String
- parseName = toString <$> pSome (pAlpha <|> pDigit <|> pOneOf ['-'])
+ parseName = toString <$> pSome (pAlpha <|> pDigit <|> pOneOf ['-'
, '/'
])
//Parse Cmd
parseCmd :: [Char] -> Either Error IRCCommand