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:
+4
-6
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user