summaryrefslogtreecommitdiff
path: root/modules/extra/bs_autoassign.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/bs_autoassign.cpp')
-rw-r--r--modules/extra/bs_autoassign.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/bs_autoassign.cpp b/modules/extra/bs_autoassign.cpp
index f290a3856..c84e18964 100644
--- a/modules/extra/bs_autoassign.cpp
+++ b/modules/extra/bs_autoassign.cpp
@@ -31,7 +31,7 @@ class BSAutoAssign : public Module
if (this->bot.empty())
return;
- BotInfo *bi = findbot(this->bot);
+ BotInfo *bi = BotInfo::Find(this->bot);
if (bi == NULL)
{
Log(this) << "bs_autoassign is configured to assign bot " << this->bot << ", but it does not exist?";