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:
+2
-2
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user