diff options
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 6e75cc9a8..957032da2 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -537,7 +537,7 @@ class CoreExport InspIRCd /** Return a count of channels on the network * @return The number of channels */ - long ChannelCount(); + long ChannelCount() const { return chanlist->size(); } /** Send an error notice to all local users, opered and unopered * @param s The error string to send @@ -774,3 +774,8 @@ class CommandModule : public Module return Version(cmd.name, VF_VENDOR|VF_CORE); } }; + +inline void InspIRCd::SendMode(const std::vector<std::string>& parameters, User* user) +{ + this->Modes->Process(parameters, user); +} |