aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-10-07 18:11:12 +0100
committerGravatar Sadie Powell2022-10-12 08:50:06 +0100
commita54b78fb9d1a9fd2a83ce638bbc8325cd49de827 (patch)
tree9e65563f0eac4a02c5cf3b6243fe1182ddaf5846 /include
parentFix generating self-signed certificates on newer versions of GnuTLS. (diff)
Add the matched channel to the WHO request data.
Diffstat (limited to 'include')
-rw-r--r--include/modules/who.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/modules/who.h b/include/modules/who.h
index 5be3e651f..17450dcf6 100644
--- a/include/modules/who.h
+++ b/include/modules/who.h
@@ -82,6 +82,9 @@ class Who::Request
/** The text to match against. */
std::string matchtext;
+ /** If the target was a channel then the matched channel */
+ Channel* matchchan;
+
/** The WHO/WHOX responses we will send to the source. */
std::vector<Numeric::Numeric> results;
@@ -108,6 +111,7 @@ class Who::Request
protected:
Request()
: fuzzy_match(false)
+ , matchchan(NULL)
, whox(false)
{
}