diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-22 13:19:36 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-22 13:19:36 +0000 |
commit | f93d9e76983e15bd1642c31d6acf430754f0600a (patch) | |
tree | 97e99a42ca08f6d798adbdf397e1cf3671037676 /src/command.cpp | |
parent | 7423fa9998d7e7082cac63eda18ae785091ea1b0 (diff) |
Store the source message identifier in CommandSource.
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
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) { } |