summaryrefslogtreecommitdiff
path: root/src/modes.cpp
diff options
context:
space:
mode:
authorCharles <chaz@anope.org>2010-06-18 21:04:30 +0100
committerCharles <chaz@anope.org>2010-06-18 21:04:30 +0100
commit184b96946adf910857536cebc2b5f80a18ce91e4 (patch)
treefe0f7a71864e268b107f21cc3bd687c75bbba84e /src/modes.cpp
parent475f5afafc61504c20968a8107b4fa7ec9c5ab2c (diff)
parenta8b6e44c69cee872c1a5e1193723242c8191104c (diff)
Merge svn with git
Diffstat (limited to 'src/modes.cpp')
-rw-r--r--src/modes.cpp5
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;
}