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 e9a6e062b..170d32d38 100644
--- a/modules/bs_autoassign.cpp
+++ b/modules/bs_autoassign.cpp
@@ -24,7 +24,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?";