summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-22 14:38:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-22 14:38:13 +0000
commit8aeb34aa15bfc32e8894c652f09673c2fb27a32f (patch)
treeb0926e540f9b189804c6e033d46bed1351b1009f /src/modules
parent443016b4f2fccca39755c1d7e33edfe1ec61718f (diff)
Fix to services sending quits with no reasons
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@695 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_helpop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index 5b4928543..09c8eb636 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -168,7 +168,7 @@ class ModuleHelpop : public Module
virtual void OnWhois(userrec* src, userrec* dst)
{
- if (strchr(src->modes,'h'))
+ if (strchr(dst->modes,'h'))
{
Srv->SendTo(NULL,src,"310 "+std::string(src->nick)+" "+std::string(dst->nick)+" :is available for help.");
}