diff options
| author | Adam <Adam@anope.org> | 2010-06-20 21:33:01 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-20 21:33:01 -0400 |
| commit | 17040c088a00a83094359382b9add202e3749db7 (patch) | |
| tree | d4671d12949c363f3b81cd5bacce38b2c18f75c5 /src/core | |
| parent | 0d2d7e996835c8c77c1eee5a4c90c3e2a60be4ff (diff) | |
Store modules in a list and xlines in a vector, not deques. We need to be able to keep iterators valid.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/os_modlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Module *>::iterator it = Modules.begin(); it != Modules.end(); ++it) + for (std::list<Module *>::iterator it = Modules.begin(), it_end = Modules.end(); it != it_end; ++it) { Module *m = *it; |
