summaryrefslogtreecommitdiff
path: root/src/modules/m_sasl.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:43:25 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:43:25 +0000
commit219993bc9018d9f0d9568330d7a972b68b785d27 (patch)
tree9d827a0e1a2ad343ebff21fb7f692b1fd2835650 /src/modules/m_sasl.cpp
parent2630a87bb13b089e6d0fdcff4bcd0f3a9612e52f (diff)
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
Diffstat (limited to 'src/modules/m_sasl.cpp')
-rw-r--r--src/modules/m_sasl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp
index 7867c245d..5241a14e5 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -40,7 +40,7 @@ class SaslAuthenticator : public classbase
{
this->user->Extend("sasl_authenticator", this);
- std::deque<std::string> params;
+ parameterlist params;
params.push_back("*");
params.push_back("SASL");
params.push_back(user->uuid);
@@ -63,7 +63,7 @@ class SaslAuthenticator : public classbase
}
/* checks for and deals with a state change. */
- SaslState ProcessInboundMessage(std::deque<std::string> &msg)
+ SaslState ProcessInboundMessage(parameterlist &msg)
{
switch (this->state)
{
@@ -106,7 +106,7 @@ class SaslAuthenticator : public classbase
if (this->state != SASL_COMM)
return true;
- std::deque<std::string> params;
+ parameterlist params;
params.push_back("*");
params.push_back("SASL");
params.push_back(this->user->uuid);
@@ -258,7 +258,7 @@ class ModuleSASL : public Module
if (ev->GetEventID() == "encap_received")
{
- std::deque<std::string>* parameters = (std::deque<std::string>*)ev->GetData();
+ parameterlist* parameters = (parameterlist*)ev->GetData();
if ((*parameters)[1] != "SASL")
return;