diff options
Diffstat (limited to 'include/channels.h')
-rw-r--r-- | include/channels.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/include/channels.h b/include/channels.h index 0b38958cc..aa025d4e7 100644 --- a/include/channels.h +++ b/include/channels.h @@ -42,7 +42,7 @@ class CoreExport Channel : public Extensible public: /** A map of Memberships on a channel keyed by User pointers */ - typedef std::map<User*, insp::aligned_storage<Membership> > MemberMap; + typedef std::map<User*, insp::aligned_storage<Membership> > MemberMap; private: /** Set default modes for the channel on creation @@ -117,23 +117,23 @@ class CoreExport Channel : public Extensible void SetMode(ModeHandler* mode, bool value); /** Returns true if a mode is set on a channel - * @param mode The mode character you wish to query - * @return True if the custom mode is set, false if otherwise - */ + * @param mode The mode character you wish to query + * @return True if the custom mode is set, false if otherwise + */ bool IsModeSet(ModeHandler* mode) { return ((mode->GetId() != ModeParser::MODEID_MAX) && (modes[mode->GetId()])); } bool IsModeSet(ModeHandler& mode) { return IsModeSet(&mode); } bool IsModeSet(ChanModeReference& mode); /** Returns the parameter for a custom mode on a channel. - * @param mode The mode character you wish to query - * - * For example if "+L #foo" is set, and you pass this method - * 'L', it will return '\#foo'. If the mode is not set on the - * channel, or the mode has no parameters associated with it, - * it will return an empty string. - * - * @return The parameter for this mode is returned, or an empty string - */ + * @param mode The mode character you wish to query + * + * For example if "+L #foo" is set, and you pass this method + * 'L', it will return '\#foo'. If the mode is not set on the + * channel, or the mode has no parameters associated with it, + * it will return an empty string. + * + * @return The parameter for this mode is returned, or an empty string + */ std::string GetModeParameter(ModeHandler* mode); std::string GetModeParameter(ChanModeReference& mode); std::string GetModeParameter(ParamModeBase* pm); |