summaryrefslogtreecommitdiff
path: root/modules/commands/cs_suspend.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-09-08 19:00:30 -0400
committerAdam <Adam@anope.org>2011-09-08 19:00:30 -0400
commit6bd31b033323842b9d59411f7f99e92c8ec6803e (patch)
tree7a079183a13f639d84fc7e4a622390b4befe22b6 /modules/commands/cs_suspend.cpp
parent7de1a7a6d1146cce4cdb218899cbe15b9cee32d8 (diff)
Bug #1330 & many other small fixes
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)
{