diff options
| author | 2019-02-17 02:23:32 -0700 | |
|---|---|---|
| committer | 2019-02-18 09:17:38 +0000 | |
| commit | 755a32c75101c4df0e5699db558785fc0dbc1973 (patch) | |
| tree | a5e789f122881bf1ed7dc124da779600bb3fe13c /src/modules/m_dccallow.cpp | |
| parent | X-line expiries: use the new DurationString() function. (diff) | |
| download | inspircd++-755a32c75101c4df0e5699db558785fc0dbc1973.tar.gz inspircd++-755a32c75101c4df0e5699db558785fc0dbc1973.tar.bz2 inspircd++-755a32c75101c4df0e5699db558785fc0dbc1973.zip | |
Start using DurationString() in X-line additions and
a few other modules where it fits better than just showing seconds.
Diffstat (limited to 'src/modules/m_dccallow.cpp')
| -rw-r--r-- | src/modules/m_dccallow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index f0a88022c..86fa50724 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -235,7 +235,7 @@ class CommandDccallow : public Command if (length > 0) { - user->WriteNumeric(RPL_DCCALLOWTIMED, user->nick, InspIRCd::Format("Added %s to DCCALLOW list for %ld seconds", target->nick.c_str(), length)); + user->WriteNumeric(RPL_DCCALLOWTIMED, user->nick, InspIRCd::Format("Added %s to DCCALLOW list for %s", target->nick.c_str(), InspIRCd::DurationString(length).c_str())); } else { |
