diff options
Diffstat (limited to 'modules/m_rewrite.cpp')
-rw-r--r-- | modules/m_rewrite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_rewrite.cpp b/modules/m_rewrite.cpp index adf702b9d..d812448b0 100644 --- a/modules/m_rewrite.cpp +++ b/modules/m_rewrite.cpp @@ -115,7 +115,7 @@ class RewriteCommand : public Command { Anope::string new_message = r->Process(source, full_params); Log(LOG_DEBUG) << "m_rewrite: Rewrote '" << source.command << (!params.empty() ? " " + params[0] : "") << "' to '" << new_message << "' using '" << r->source_message << "'"; - source.service = BotInfo::Find(r->client); + source.service = BotInfo::Find(r->client, true); if (!source.service) return; Command::Run(source, new_message); |