]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_dccallow.cpp
Improve the handling of config X-lines and filters. (#1583)
[user/henk/code/inspircd.git] / src / modules / m_dccallow.cpp
index f0a88022c4c51e79182003b8c3d9266d35e85dbd..86fa507247b518aa133d8531f0fdbda8b9c1da04 100644 (file)
@@ -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
                                        {