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