summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-04-05 07:58:19 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-04-05 07:58:19 -0700
commit8e133075f13a75801c691e501daa38aad1f068e0 (patch)
tree1ec7e9fcb119dc4e1900d28e9d930afeee70e8cd
parentbb3aa2fb37071f48a5312df8688c0a6990644fbb (diff)
parent45b6881967882d7808528f547089b6b0dc8bf7b0 (diff)
Merge pull request #465 from Shawn-Smith/master+ServicesOperGrammar
[2.2] Fixed grammar issue
-rw-r--r--src/modules/m_servprotect.cpp6
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);
}
}