summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
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.");
}