1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 08:16:39 +02:00

Removed the OnFind events, they are not necessary anymore and just waste CPU

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2872 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2010-04-09 06:04:52 +00:00
parent a840ef8ae8
commit 1a3a4b275f
4 changed files with 4 additions and 31 deletions
+2 -2
View File
@@ -426,8 +426,8 @@ void StackerInfo::AddMode(void *Mode, bool Set, const std::string &Param)
otherlist = &AddModes;
}
/* Note that this whole thing works fine with status and list modes, because those have paramaters
* which make them not unique.
/* Note that this whole thing works fine with status and list modes, because those have parameters
* which make them unique.
*/
it = std::find(list->begin(), list->end(), std::make_pair(Mode, Param));
if (it != list->end())