diff options
author | Peter Powell <petpow@saberuk.com> | 2019-07-26 10:22:42 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-07-26 10:22:42 +0100 |
commit | 193eac649066bda33e693baadce6bc40181008f0 (patch) | |
tree | 31de89391dfe7d8c8739178e6ba67dc8f016dc1f /include | |
parent | 8fe455f1dad5c7e3f6f7f638b0243cffedf322a3 (diff) |
Fix various cases of broken indentation.
Diffstat (limited to 'include')
-rw-r--r-- | include/clientprotocol.h | 4 | ||||
-rw-r--r-- | include/inspircd.h | 10 | ||||
-rw-r--r-- | include/mode.h | 12 |
3 files changed, 13 insertions, 13 deletions
diff --git a/include/clientprotocol.h b/include/clientprotocol.h index 44896a3a3..95683dc8f 100644 --- a/include/clientprotocol.h +++ b/include/clientprotocol.h @@ -360,7 +360,7 @@ class ClientProtocol::Message : public ClientProtocol::MessageSource /** Add a parameter to the parameter list. * @param str String to add. - * The string will NOT be copied, it must remain alive until ClearParams() is called or until the object is destroyed. + * The string will NOT be copied, it must remain alive until ClearParams() is called or until the object is destroyed. */ void PushParamRef(const std::string& str) { params.push_back(str); } @@ -479,7 +479,7 @@ class ClientProtocol::Event /** Constructor. * @param protoeventprov Protocol event provider the event is an instance of. - * @param msg Message to include in this event by default. + * @param msg Message to include in this event by default. */ Event(EventProvider& protoeventprov, ClientProtocol::Message& msg) : event(&protoeventprov) diff --git a/include/inspircd.h b/include/inspircd.h index 2aa9aa326..35183c3bf 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -507,11 +507,11 @@ class CoreExport InspIRCd static unsigned long Duration(const std::string& str); /** Calculate a duration in seconds from a string in the form 1y2w3d4h6m5s - * @param str A string containing a time in the form 1y2w3d4h6m5s - * (one year, two weeks, three days, four hours, six minutes and five seconds) - * @param duration The location to place the parsed duration valur - * @return Whether the duration was a valid format or not - */ + * @param str A string containing a time in the form 1y2w3d4h6m5s + * (one year, two weeks, three days, four hours, six minutes and five seconds) + * @param duration The location to place the parsed duration valur + * @return Whether the duration was a valid format or not + */ static bool Duration(const std::string& str, unsigned long& duration); /** Determines whether a string contains a valid duration. diff --git a/include/mode.h b/include/mode.h index b357de03d..7dc7feaec 100644 --- a/include/mode.h +++ b/include/mode.h @@ -716,7 +716,7 @@ class CoreExport ModeParser : public fakederef<ModeParser> * @param user The source of the mode change, can be a server user. * @param targetchannel Channel to apply the mode change on. NULL if changing modes on a channel. * @param targetuser User to apply the mode change on. NULL if changing modes on a user. - * @param changelist Modes to change in form of a Modes::ChangeList. May not process + * @param changelist Modes to change in form of a Modes::ChangeList. May not process * the entire list due to MODE line length and max modes limitations. * @param flags Optional flags controlling how the mode change is processed, * defaults to MODE_NONE. @@ -735,11 +735,11 @@ class CoreExport ModeParser : public fakederef<ModeParser> * is a channel mode change. * @param parameters List of strings describing the mode change to convert to a ChangeList. * Must be using the same format as the parameters of a MODE command. - * @param changelist ChangeList object to populate. - * @param beginindex Index of the first element that is part of the MODE list in the parameters - * container. Defaults to 1. - * @param endindex Index of the first element that is not part of the MODE list. By default, - * the entire container is considered part of the MODE list. + * @param changelist ChangeList object to populate. + * @param beginindex Index of the first element that is part of the MODE list in the parameters + * container. Defaults to 1. + * @param endindex Index of the first element that is not part of the MODE list. By default, + * the entire container is considered part of the MODE list. */ void ModeParamsToChangeList(User* user, ModeType type, const std::vector<std::string>& parameters, Modes::ChangeList& changelist, unsigned int beginindex = 1, unsigned int endindex = UINT_MAX); |