summaryrefslogtreecommitdiff
path: root/src/misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.cpp')
-rw-r--r--src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.cpp b/src/misc.cpp
index 1cdaf923d..51ff5e97c 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -830,7 +830,7 @@ int nickIsServices(const char *tempnick, int bot)
found++;
else if (Config.s_BotServ && bot)
{
- for (botinfo_map::const_iterator it = BotList.begin(); it != BotList.end(); ++it)
+ for (botinfo_map::const_iterator it = BotListByNick.begin(); it != BotListByNick.end(); ++it)
{
BotInfo *bi = it->second;