summaryrefslogtreecommitdiff
path: root/modules/pseudoclients/botserv.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-16 00:06:07 -0500
committerAdam <Adam@anope.org>2012-11-16 00:06:07 -0500
commit5fe6f0b2ec1353c79fdc01502b9456c0f2828b88 (patch)
tree258b05f72b966f4971d60dafa085670527b34c26 /modules/pseudoclients/botserv.cpp
parent5d6fb2427e2c396239b854951ad4b8d4e3952657 (diff)
This should be find, not find_first_of
Diffstat (limited to 'modules/pseudoclients/botserv.cpp')
-rw-r--r--modules/pseudoclients/botserv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pseudoclients/botserv.cpp b/modules/pseudoclients/botserv.cpp
index f165423fc..e653e7d3e 100644
--- a/modules/pseudoclients/botserv.cpp
+++ b/modules/pseudoclients/botserv.cpp
@@ -58,7 +58,7 @@ class BotServCore : public Module
std::vector<Anope::string> params = BuildStringVector(realbuf);
- if (!realbuf.find_first_of(c->ci->bi->nick))
+ if (!realbuf.find(c->ci->bi->nick))
params.erase(params.begin());
else if (Config->BSFantasyCharacter.empty())
;