summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/modules.h2
-rw-r--r--include/operserv.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/include/modules.h b/include/modules.h
index a8c8a72c2..8643518de 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -158,7 +158,7 @@ enum MODType { CORE, PROTOCOL, THIRD, SUPPORTED, QATESTED, ENCRYPTION, DATABASE
struct Message;
extern CoreExport std::multimap<std::string, Message *> MessageMap;
class Module;
-extern CoreExport std::deque<Module *> Modules;
+extern CoreExport std::list<Module *> Modules;
/*************************************************************************/
/* Structure for information about a *Serv command. */
diff --git a/include/operserv.h b/include/operserv.h
index c8a7e306a..35aff0dda 100644
--- a/include/operserv.h
+++ b/include/operserv.h
@@ -69,7 +69,7 @@ class CoreExport XLineManager
protected:
/* List of XLines in this XLineManager */
- std::deque<XLine *> XLines;
+ std::vector<XLine *> XLines;
public:
/** Constructor
*/
@@ -103,10 +103,10 @@ class CoreExport XLineManager
*/
const size_t GetCount() const;
- /** Get the XLine list
- * @return The list
+ /** Get the XLine vector
+ * @return The vector
*/
- const std::deque<XLine *>& GetList() const;
+ const std::vector<XLine *>& GetList() const;
/** Add an entry to this XLineManager
* @param x The entry
@@ -125,7 +125,7 @@ class CoreExport XLineManager
*/
XLine *GetEntry(unsigned index) const;
- /** Clear the XLine list
+ /** Clear the XLine vector
*/
void Clear();