From 5ed69ed67821fb1d84d82fd31d4729c8d8657f53 Mon Sep 17 00:00:00 2001 From: Naram Qashat Date: Thu, 29 Jul 2010 23:34:39 -0400 Subject: Used std::list for ignore's IgnoreData instead of using the old C-style double-linked list, also removed the addition of an ignore when a command "takes too long". --- include/extern.h | 2 +- include/services.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/extern.h b/include/extern.h index e4a87d1d2..4fafd494e 100644 --- a/include/extern.h +++ b/include/extern.h @@ -327,7 +327,7 @@ E bool is_on_access(User *u, NickCore *nc); /**** process.c ****/ E int allow_ignore; -E IgnoreData *ignore; +E std::list ignore; E void add_ignore(const Anope::string &nick, time_t delta); E IgnoreData *get_ignore(const Anope::string &nick); diff --git a/include/services.h b/include/services.h index acf6a4ea5..e48ba1924 100644 --- a/include/services.h +++ b/include/services.h @@ -777,7 +777,6 @@ struct EList struct IgnoreData { - IgnoreData *prev, *next; Anope::string mask; time_t time; /* When do we stop ignoring them? */ }; -- cgit