summaryrefslogtreecommitdiff
path: root/src/modes.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-06-18 16:50:56 -0400
committerAdam <Adam@anope.org>2010-06-18 16:50:56 -0400
commitad45dbacbbd658c5b2c862a7d0b1779c611887db (patch)
treebc25977d5ff926d098bcbe92afe2f03b6319e54c /src/modes.cpp
parent184b96946adf910857536cebc2b5f80a18ce91e4 (diff)
Fixed some problems with the mode stacker from svn to git merge
Diffstat (limited to 'src/modes.cpp')
-rw-r--r--src/modes.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modes.cpp b/src/modes.cpp
index 5350fcce0..3b3c1045f 100644
--- a/src/modes.cpp
+++ b/src/modes.cpp
@@ -487,6 +487,9 @@ StackerInfo *ModeManager::GetInfo(void *Item)
return PItem.second;
}
+ StackerInfo *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