diff options
author | Robby <Robby-@users.noreply.github.com> | 2019-04-28 10:14:21 +0200 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-04-28 09:14:21 +0100 |
commit | e57d1b19ff4823b7885eb7f4d3b37c84d2edca0e (patch) | |
tree | 81e3825243464f332742b7e945053d32d726808b /src/modules/m_callerid.cpp | |
parent | 2533dc10f987eedb99d780c7debd948f22705679 (diff) |
Textual improvements and fixes such as typos, casing, etc. (#1612)
Diffstat (limited to 'src/modules/m_callerid.cpp')
-rw-r--r-- | src/modules/m_callerid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index f2cf112bf..a13d4d613 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -392,7 +392,7 @@ public: Version GetVersion() CXX11_OVERRIDE { - return Version("Implementation of callerid, usermode +g, /accept", VF_COMMON | VF_VENDOR); + return Version("Implementation of callerid, provides user mode +g and the ACCEPT command", VF_COMMON | VF_VENDOR); } void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE @@ -422,7 +422,7 @@ public: if (now > (dat->lastnotify + (time_t)notify_cooldown)) { user->WriteNumeric(RPL_TARGNOTIFY, dest->nick, "has been informed that you messaged them."); - dest->WriteRemoteNumeric(RPL_UMODEGMSG, user->nick, InspIRCd::Format("%s@%s", user->ident.c_str(), user->GetDisplayedHost().c_str()), InspIRCd::Format("is messaging you, and you have umode +g. Use /ACCEPT +%s to allow.", + dest->WriteRemoteNumeric(RPL_UMODEGMSG, user->nick, InspIRCd::Format("%s@%s", user->ident.c_str(), user->GetDisplayedHost().c_str()), InspIRCd::Format("is messaging you, and you have user mode +g set. Use /ACCEPT +%s to allow.", user->nick.c_str())); dat->lastnotify = now; } |