summaryrefslogtreecommitdiff
path: root/include/messages.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-10-02 11:11:16 +0100
committerSadie Powell <sadie@witchery.services>2024-10-02 11:12:24 +0100
commit8232759a924e5bd8f7fa5a425dcb930bba4ef3fb (patch)
treeb112914c4a945e04bb35e4de0e05deaca33a6b4d /include/messages.h
parentb006966d25888857f777892fd3412d8c6da6af5d (diff)
Change Channel::SetModesInternal to take a split mode change.
Diffstat (limited to 'include/messages.h')
-rw-r--r--include/messages.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/messages.h b/include/messages.h
index 59e483923..ea0a174b6 100644
--- a/include/messages.h
+++ b/include/messages.h
@@ -66,10 +66,11 @@ namespace Message
* @param source The source of the SJOIN
* @param chan The channel the users are joining to
* @param ts The TS for the channel
- * @param modes The modes sent with the SJOIN, if any
+ * @param modes The mode letters sent with the SJOIN, if any
+ * @param modeparams The mode parameters sent with the SJOIN, if any
* @param users The users and their status, if any
*/
- static void SJoin(MessageSource &source, const Anope::string &chan, time_t ts, const Anope::string &modes, const std::list<SJoinUser> &users);
+ static void SJoin(MessageSource &source, const Anope::string &chan, time_t ts, const Anope::string &modes, const std::vector<Anope::string> &modeparams, const std::list<SJoinUser> &users);
};
struct CoreExport Kick