summaryrefslogtreecommitdiff
path: root/modules/commands/cs_suspend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_suspend.cpp')
-rw-r--r--modules/commands/cs_suspend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_suspend.cpp b/modules/commands/cs_suspend.cpp
index d59ffb44b..d1bd7b72a 100644
--- a/modules/commands/cs_suspend.cpp
+++ b/modules/commands/cs_suspend.cpp
@@ -47,7 +47,7 @@ class CommandCSSuspend : public Command
ci->SetFlag(CI_SUSPENDED);
ci->Extend("suspend_by", new ExtensibleItemRegular<Anope::string>(u->nick));
if (!reason.empty())
- ci->Extend("suspend_reason", new ExtensibleItemRegular<Anope::string>(u->nick));
+ ci->Extend("suspend_reason", new ExtensibleItemRegular<Anope::string>(reason));
if (ci->c)
{