kunt

golang IRC bot
git clone git://git.2f30.org/kunt
Log | Files | Refs | LICENSE

commit 5cefadb10dabb87e00bef067faeabb201fab492f
parent 114b6d66c20d5e8c7fabf922905611982dee4494
Author: sin <sin@2f30.org>
Date:   Mon, 29 Apr 2013 15:52:21 +0100

mapfs: Don't force dup checks on loading the map from disk

Diffstat:
Msrc/mapfs/mapfs.go | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/mapfs/mapfs.go b/src/mapfs/mapfs.go @@ -113,9 +113,6 @@ func (m *Mapfs) Load() error { if err != nil { return err } - if m.Dup(b) { - return fmt.Errorf("Duplicate entry: %s", b) - } err = m.Put(i, b) if err != nil { return err