From 22c83f35d4d65d4c2947830b7795a9e344fa1677 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 29 Oct 2007 00:23:11 +0000 Subject: Ok, now each xline will be in two places. The sorted vector and a map, each line type having its own map stored in a map of maps. (RTFS when its done) This allows for faster checking for simple existence of a line for removal/adding without O(n) lookups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8420 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/xline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/xline.h b/include/xline.h index 6e32944fe..711897e4d 100644 --- a/include/xline.h +++ b/include/xline.h @@ -359,7 +359,7 @@ class CoreExport XLineManager public: - std::map elines; + std::map > lookup_lines; /** Constructor * @param Instance A pointer to the creator object -- cgit v1.2.3