From 17040c088a00a83094359382b9add202e3749db7 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 20 Jun 2010 21:33:01 -0400 Subject: Store modules in a list and xlines in a vector, not deques. We need to be able to keep iterators valid. --- src/core/os_modlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/os_modlist.cpp b/src/core/os_modlist.cpp index a8ab244fd..3ebaed08e 100644 --- a/src/core/os_modlist.cpp +++ b/src/core/os_modlist.cpp @@ -118,7 +118,7 @@ class CommandOSModList : public Command notice_lang(Config.s_OperServ, u, OPER_MODULE_LIST_HEADER); - for (std::deque::iterator it = Modules.begin(); it != Modules.end(); ++it) + for (std::list::iterator it = Modules.begin(), it_end = Modules.end(); it != it_end; ++it) { Module *m = *it; -- cgit