diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-26 22:46:10 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-26 23:56:07 +0000 |
commit | 1e87849e5c218cc3d99e259f9ea43493bd8bc633 (patch) | |
tree | 4873ba987dd95addf9d7620485c7a5b1898b931a /src/protocol.cpp | |
parent | 5fa4acb1950cd21812d577f9ea6f99caaef255eb (diff) |
Rework IRCDMessage/IRCDMessageFlag.
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index 091157d8e..bc97e58c8 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -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; -} |