1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 18:26:39 +02:00

Rework IRCDMessage/IRCDMessageFlag.

This commit is contained in:
Sadie Powell
2024-02-26 22:46:10 +00:00
parent 5fa4acb195
commit 1e87849e5c
12 changed files with 146 additions and 117 deletions
+4 -6
View File
@@ -441,11 +441,9 @@ Server *MessageSource::GetServer() const
return this->s;
}
IRCDMessage::IRCDMessage(Module *o, const Anope::string &n, unsigned p) : Service(o, "IRCDMessage", o->name + "/" + n.lower()), name(n), param_count(p)
IRCDMessage::IRCDMessage(Module *o, const Anope::string &n, size_t pc)
: Service(o, "IRCDMessage", o->name + "/" + n.lower())
, name(n)
, param_count(pc)
{
}
unsigned IRCDMessage::GetParamCount() const
{
return this->param_count;
}