aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_servprotect.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2015-04-28 15:02:41 +0200
committerGravatar Attila Molnar2015-04-28 15:02:41 +0200
commit04eb0e182dec8518d1dfd15a09b8054d1501a4ef (patch)
treea09b319fffd5dd01a8ba88cddc8c8e3629472b3a /src/modules/m_servprotect.cpp
parentm_servprotect Remove pointless compare of src and dst from OnWhoisLine handler (diff)
Prepend target user nick to whois numerics in InspIRCd::SendWhoisLine()
Diffstat (limited to 'src/modules/m_servprotect.cpp')
-rw-r--r--src/modules/m_servprotect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_servprotect.cpp b/src/modules/m_servprotect.cpp
index 340706142..edad324d1 100644
--- a/src/modules/m_servprotect.cpp
+++ b/src/modules/m_servprotect.cpp
@@ -60,7 +60,7 @@ class ModuleServProtectMode : public Module
{
if (dest->IsModeSet(bm))
{
- ServerInstance->SendWhoisLine(user, dest, 310, dest->nick+" :is a Network Service on "+ServerInstance->Config->Network);
+ ServerInstance->SendWhoisLine(user, dest, 310, ":is a Network Service on "+ServerInstance->Config->Network);
}
}