diff options
author | Shawn Smith <ShawnSmith0828@gmail.com> | 2013-04-03 09:45:24 -0400 |
---|---|---|
committer | Shawn Smith <ShawnSmith0828@gmail.com> | 2013-04-05 10:54:49 -0400 |
commit | 45b6881967882d7808528f547089b6b0dc8bf7b0 (patch) | |
tree | 1ec7e9fcb119dc4e1900d28e9d930afeee70e8cd /src/modules | |
parent | bb3aa2fb37071f48a5312df8688c0a6990644fbb (diff) |
Fixed grammar in whois output for +k'd services.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_servprotect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_servprotect.cpp b/src/modules/m_servprotect.cpp index 3e3a7643e..099c1142a 100644 --- a/src/modules/m_servprotect.cpp +++ b/src/modules/m_servprotect.cpp @@ -65,11 +65,11 @@ class ModuleServProtectMode : public Module return Version("Provides usermode +k to protect services from kicks, kills, and mode changes.", VF_VENDOR); } - void OnWhois(User* src, User* dst) + void OnWhois(User* user, User* dest) { - if (dst->IsModeSet('k')) + if (dest->IsModeSet('k')) { - ServerInstance->SendWhoisLine(src, dst, 310, src->nick+" "+dst->nick+" :is an "+ServerInstance->Config->Network+" Service"); + ServerInstance->SendWhoisLine(user, dest, 310, user->nick+" "+dest->nick+" :is a Network Service on "+ServerInstance->Config->Network); } } |