mirror of
https://github.com/anope/anope.git
synced 2026-06-26 00:06:40 +02:00
Store the source message identifier in CommandSource.
This commit is contained in:
+7
-2
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user