diff options
| author | 2008-10-26 19:09:50 +0000 | |
|---|---|---|
| committer | 2008-10-26 19:09:50 +0000 | |
| commit | 1c5d26337b1bea5638332659806dd67d7f74568f (patch) | |
| tree | ae9439b011e4b7c9744f6ce22fe32b07dcbac5cf /src/commands/cmd_eline.cpp | |
| parent | Fix obvious oversight spotted by Ankit, provide xline reasons when adding them (diff) | |
This one too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10721 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_eline.cpp')
| -rw-r--r-- | src/commands/cmd_eline.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/cmd_eline.cpp b/src/commands/cmd_eline.cpp index 4f26ace42..53e776bd2 100644 --- a/src/commands/cmd_eline.cpp +++ b/src/commands/cmd_eline.cpp @@ -55,13 +55,13 @@ CmdResult CommandEline::Handle (const std::vector<std::string>& parameters, User { if (!duration) { - ServerInstance->SNO->WriteToSnoMask('x',"%s added permanent E-line for %s.",user->nick.c_str(),target.c_str()); + ServerInstance->SNO->WriteToSnoMask('x',"%s added permanent E-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 E-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 E-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()); } } else |
