From f93d9e76983e15bd1642c31d6acf430754f0600a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 22 Feb 2024 13:19:36 +0000 Subject: Store the source message identifier in CommandSource. --- src/command.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/command.cpp') diff --git a/src/command.cpp b/src/command.cpp index 7925e8bbd..2ac6cb7d7 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -17,8 +17,13 @@ #include "regchannel.h" #include "channels.h" -CommandSource::CommandSource(const Anope::string &n, User *user, NickCore *core, CommandReply *r, BotInfo *bi) : nick(n), u(user), nc(core), reply(r), - c(NULL), service(bi) +CommandSource::CommandSource(const Anope::string &n, User *user, NickCore *core, CommandReply *r, BotInfo *bi, const Anope::string &m) + : nick(n) + , u(user) + , nc(core) + , reply(r) + , service(bi) + , msgid(m) { } -- cgit