From a54b78fb9d1a9fd2a83ce638bbc8325cd49de827 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 7 Oct 2022 18:11:12 +0100 Subject: Add the matched channel to the WHO request data. --- include/modules/who.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 results; @@ -108,6 +111,7 @@ class Who::Request protected: Request() : fuzzy_match(false) + , matchchan(NULL) , whox(false) { } -- cgit v1.3.1-10-gc9f91