summaryrefslogtreecommitdiffstats
path: root/utils/lru.go
diff options
context:
space:
mode:
authorPierre Rudloff <contact@rudloff.pro>2016-12-21 23:29:38 +0100
committerenahum <nahumhbl@gmail.com>2016-12-21 19:29:38 -0300
commit56dc863de14da2c5d6b897352e91384a91a40f94 (patch)
tree71469a5425323033b37810ac03a80c9ec141b83f /utils/lru.go
parent25d40bc98c71f526c256076f0c21c04bbb4e99e7 (diff)
downloadchat-56dc863de14da2c5d6b897352e91384a91a40f94.tar.gz
chat-56dc863de14da2c5d6b897352e91384a91a40f94.tar.bz2
chat-56dc863de14da2c5d6b897352e91384a91a40f94.zip
Fix some typos in the English locale (fixes #4663) (#4793)
Diffstat (limited to 'utils/lru.go')
-rw-r--r--utils/lru.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lru.go b/utils/lru.go
index f5f7959d8..41ba72d71 100644
--- a/utils/lru.go
+++ b/utils/lru.go
@@ -68,7 +68,7 @@ func (c *Cache) Add(key, value interface{}) bool {
return c.AddWithExpiresInSecs(key, value, 0)
}
-// Add adds a value to the cache. Returns true if an eviction occured.
+// Add adds a value to the cache. Returns true if an eviction occurred.
func (c *Cache) AddWithExpiresInSecs(key, value interface{}, expireAtSecs int64) bool {
c.lock.Lock()
defer c.lock.Unlock()