diff options
author | Peter Powell <petpow@saberuk.com> | 2013-04-01 10:20:52 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-04-01 10:43:12 +0100 |
commit | f00ffba521c16d0f5419f60c0b4d362b362b76e6 (patch) | |
tree | 671bdb8aebf16739312a81d20075c4bef45f5347 | |
parent | d877be98d1a89a18fb942ae9740e8fe65df359cf (diff) |
Purge references to the deprecated GetStackedLine method.
-rw-r--r-- | include/hashcomp.h | 10 | ||||
-rw-r--r-- | src/modules/m_banredirect.cpp | 3 | ||||
-rw-r--r-- | src/modules/m_customprefix.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_ojoin.cpp | 2 |
4 files changed, 4 insertions, 13 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h index 78d7ee878..b75214181 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -280,15 +280,7 @@ namespace irc * mode changes to be obtained. */ int GetStackedLine(std::vector<std::string> &result, int max_line_size = 360); - - /** deprecated compatability interface - TODO remove */ - int GetStackedLine(std::deque<std::string> &result, int max_line_size = 360) { - std::vector<std::string> r; - int n = GetStackedLine(r, max_line_size); - result.clear(); - result.insert(result.end(), r.begin(), r.end()); - return n; - } + }; /** irc::tokenstream reads a string formatted as per RFC1459 and RFC2812. diff --git a/src/modules/m_banredirect.cpp b/src/modules/m_banredirect.cpp index 1a5126e61..512c9b64e 100644 --- a/src/modules/m_banredirect.cpp +++ b/src/modules/m_banredirect.cpp @@ -43,7 +43,6 @@ class BanRedirectEntry }; typedef std::vector<BanRedirectEntry> BanRedirectList; -typedef std::deque<std::string> StringDeque; class BanRedirect : public ModeWatcher { @@ -242,7 +241,7 @@ class ModuleBanRedirect : public Module if(redirects) { irc::modestacker modestack(false); - StringDeque stackresult; + std::vector<std::string> stackresult; std::vector<std::string> mode_junk; mode_junk.push_back(chan->name); diff --git a/src/modules/m_customprefix.cpp b/src/modules/m_customprefix.cpp index dfc60e082..9bf65b3e8 100644 --- a/src/modules/m_customprefix.cpp +++ b/src/modules/m_customprefix.cpp @@ -59,7 +59,7 @@ class CustomPrefixMode : public ModeHandler std::vector<std::string> mode_junk; mode_junk.push_back(channel->name); irc::modestacker modestack(false); - std::deque<std::string> stackresult; + std::vector<std::string> stackresult; for (UserMembCIter i = cl->begin(); i != cl->end(); i++) { diff --git a/src/modules/m_ojoin.cpp b/src/modules/m_ojoin.cpp index 207be2bb5..e2019e302 100644 --- a/src/modules/m_ojoin.cpp +++ b/src/modules/m_ojoin.cpp @@ -116,7 +116,7 @@ class NetworkPrefix : public ModeHandler std::vector<std::string> mode_junk; mode_junk.push_back(channel->name); irc::modestacker modestack(false); - std::deque<std::string> stackresult; + std::vector<std::string> stackresult; for (UserMembCIter i = cl->begin(); i != cl->end(); i++) { |