diff options
author | Charles <chaz@anope.org> | 2010-06-18 21:04:30 +0100 |
---|---|---|
committer | Charles <chaz@anope.org> | 2010-06-18 21:04:30 +0100 |
commit | 184b96946adf910857536cebc2b5f80a18ce91e4 (patch) | |
tree | fe0f7a71864e268b107f21cc3bd687c75bbba84e /src/modes.cpp | |
parent | 475f5afafc61504c20968a8107b4fa7ec9c5ab2c (diff) | |
parent | a8b6e44c69cee872c1a5e1193723242c8191104c (diff) |
Merge svn with git
Diffstat (limited to 'src/modes.cpp')
-rw-r--r-- | src/modes.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modes.cpp b/src/modes.cpp index 4f5879846..5350fcce0 100644 --- a/src/modes.cpp +++ b/src/modes.cpp @@ -487,9 +487,6 @@ StackerInfo *ModeManager::GetInfo(void *Item) return PItem.second; } - tackerInfo *s = new StackerInfo; - StackerObjects.push_back(std::make_pair(Item, s)); - return s; } /** Build a list of mode strings to send to the IRCd from the mode stacker @@ -565,7 +562,7 @@ std::list<std::string> ModeManager::BuildModeStrings(StackerInfo *info) if (!buf.empty()) ret.push_back(buf + parambuf); - + return ret; } |