From 45b6881967882d7808528f547089b6b0dc8bf7b0 Mon Sep 17 00:00:00 2001 From: Shawn Smith Date: Wed, 3 Apr 2013 09:45:24 -0400 Subject: Fixed grammar in whois output for +k'd services. --- src/modules/m_servprotect.cpp | 6 +++--- 1 file 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); } } -- cgit v1.2.3