diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-09 06:04:52 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-09 06:04:52 +0000 |
commit | 1a3a4b275fe6ce3dd894103aa754946c0122b4f2 (patch) | |
tree | 362a39d9f6ba274350120821775e85fdc111ee77 /src/modes.cpp | |
parent | a840ef8ae846c294e37952d066a2e0e1b4f72898 (diff) |
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
Diffstat (limited to 'src/modes.cpp')
-rw-r--r-- | src/modes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modes.cpp b/src/modes.cpp index 7525d36e7..64a3fc349 100644 --- a/src/modes.cpp +++ b/src/modes.cpp @@ -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()) |