From 8aeb34aa15bfc32e8894c652f09673c2fb27a32f Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 22 Apr 2004 14:38:13 +0000 Subject: Fix to services sending quits with no reasons git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@695 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_helpop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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."); } -- cgit v1.3.1-10-gc9f91