summaryrefslogtreecommitdiff
path: root/src/commands/cmd_gline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_gline.cpp')
-rw-r--r--src/commands/cmd_gline.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/cmd_gline.cpp b/src/commands/cmd_gline.cpp
index a10056410..351e23095 100644
--- a/src/commands/cmd_gline.cpp
+++ b/src/commands/cmd_gline.cpp
@@ -60,13 +60,13 @@ CmdResult CommandGline::Handle (const std::vector<std::string>& parameters, User
{
if (!duration)
{
- ServerInstance->SNO->WriteToSnoMask('x',"%s added permanent G-line for %s.",user->nick.c_str(),target.c_str());
+ ServerInstance->SNO->WriteToSnoMask('x',"%s added permanent G-line for %s: %s",user->nick.c_str(),target.c_str(), parameters[2].c_str());
}
else
{
time_t c_requires_crap = duration + ServerInstance->Time();
- ServerInstance->SNO->WriteToSnoMask('x',"%s added timed G-line for %s, expires on %s",user->nick.c_str(),target.c_str(),
- ServerInstance->TimeString(c_requires_crap).c_str());
+ ServerInstance->SNO->WriteToSnoMask('x',"%s added timed G-line for %s, expires on %s: %s",user->nick.c_str(),target.c_str(),
+ ServerInstance->TimeString(c_requires_crap).c_str(), parameters[2].c_str());
}
ServerInstance->XLines->ApplyLines();