Skip to content
Snippets Groups Projects
Commit c880fce7 authored by rswindell's avatar rswindell
Browse files

Since we're now caching the entire avatar_lib (in bbs.mods), no need to store

the avatar (data) cache separately in bbs.mods.
parent f4602de1
No related branches found
No related tags found
No related merge requests found
......@@ -14,11 +14,6 @@ const FTN_4D_PATTERN = /^(\d+):(\d+)\/(\d+)\.(\d+)$/;
const size = defs.width * defs.height * 2; // 2 bytes per cell for char and attributes
var cache = {};
if(js.global.bbs) {
if(!bbs.mods.avatar_cache)
bbs.mods.avatar_cache = {};
cache = bbs.mods.avatar_cache;
}
function cache_key(username, netaddr)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment