From 219993bc9018d9f0d9568330d7a972b68b785d27 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:43:25 +0000 Subject: Replace std::deque with std::vector in spanningtree and related modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/whois.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree/whois.cpp') diff --git a/src/modules/m_spanningtree/whois.cpp b/src/modules/m_spanningtree/whois.cpp index 85f186c40..796713182 100644 --- a/src/modules/m_spanningtree/whois.cpp +++ b/src/modules/m_spanningtree/whois.cpp @@ -26,7 +26,7 @@ /* $ModDep: m_spanningtree/main.h m_spanningtree/utils.h m_spanningtree/treeserver.h m_spanningtree/treesocket.h */ -bool TreeSocket::Whois(const std::string &prefix, std::deque ¶ms) +bool TreeSocket::Whois(const std::string &prefix, parameterlist ¶ms) { if (params.size() < 1) return true; @@ -43,7 +43,7 @@ bool TreeSocket::Whois(const std::string &prefix, std::deque ¶m char idle[MAXBUF]; snprintf(signon, MAXBUF, "%lu", (unsigned long)x->signon); snprintf(idle, MAXBUF, "%lu", (unsigned long)abs((long)((x->idle_lastmsg) - ServerInstance->Time()))); - std::deque par; + parameterlist par; par.push_back(prefix); par.push_back(signon); par.push_back(idle); -- cgit v1.2.3