summaryrefslogtreecommitdiff
path: root/src/ZNC.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ZNC.hs')
-rw-r--r--src/ZNC.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ZNC.hs b/src/ZNC.hs
index c23ffe2..df57541 100644
--- a/src/ZNC.hs
+++ b/src/ZNC.hs
@@ -40,6 +40,8 @@ data Event
| ParseError
deriving (Show)
+-- | Returned vector has one entry for each line in the file, excepting the
+-- empty "line" after the final newline, if any.
preparseLog :: ByteString -> VS.Vector Word32
preparseLog = VS.fromList . findLineStarts 0
where