X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_dccallow.cpp;h=e0ea4c7aeed89e7d20ab38cdc05bb0320e4e8ff5;hb=193eac649066bda33e693baadce6bc40181008f0;hp=f0a88022c4c51e79182003b8c3d9266d35e85dbd;hpb=21e7efdadfa685ac1ddcb0a0a515502bc873302b;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index f0a88022c..e0ea4c7ae 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 { @@ -529,7 +529,7 @@ class ModuleDCCAllow : public Module Version GetVersion() CXX11_OVERRIDE { - return Version("Provides support for the /DCCALLOW command", VF_COMMON | VF_VENDOR); + return Version("Provides the DCCALLOW command", VF_COMMON | VF_VENDOR); } };