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 3604fe69b..ae60f5b5a 100644
--- a/modules/bs_autoassign.cpp
+++ b/modules/bs_autoassign.cpp
@@ -20,7 +20,7 @@ class BSAutoAssign : public Module
void OnChanRegistered(ChannelInfo *ci) anope_override
{
- const Anope::string &bot = Config->GetModule(this)->Get<const Anope::string &>("bot");
+ const Anope::string &bot = Config->GetModule(this)->Get<const Anope::string>("bot");
if (bot.empty())
return;