]> jfr.im git - solanum.git/blobdiff - ircd/msgbuf.c
Support more human friendly k/d/x-line duration format
[solanum.git] / ircd / msgbuf.c
index a801ff626ca428ddb2ef020d07cc0098774c7629..7040123a1782aebe818e39e39d4dff19db81f11a 100644 (file)
@@ -443,6 +443,8 @@ msgbuf_cache_get(struct MsgBuf_cache *cache, unsigned int caps)
        struct MsgBuf_cache_entry *tail = NULL;
        int n = 0;
 
+       caps &= cache->overall_capmask;
+
        while (entry != NULL) {
                if (entry->caps == caps) {
                        /* Cache hit */