summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-07-26 10:22:42 +0100
committerPeter Powell <petpow@saberuk.com>2019-07-26 10:22:42 +0100
commit193eac649066bda33e693baadce6bc40181008f0 (patch)
tree31de89391dfe7d8c8739178e6ba67dc8f016dc1f
parent8fe455f1dad5c7e3f6f7f638b0243cffedf322a3 (diff)
Fix various cases of broken indentation.
-rw-r--r--include/clientprotocol.h4
-rw-r--r--include/inspircd.h10
-rw-r--r--include/mode.h12
-rw-r--r--src/modules/m_check.cpp4
-rw-r--r--src/modules/m_sasl.cpp2
-rw-r--r--src/modules/m_satopic.cpp2
6 files changed, 17 insertions, 17 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);
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index d6c17a37e..abbaaab8d 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -261,8 +261,8 @@ class CommandCheck : public Command
for (Channel::MemberMap::const_iterator i = ulist.begin(); i != ulist.end(); ++i)
{
/*
- * Unlike Asuka, I define a clone as coming from the same host. --w00t
- */
+ * Unlike Asuka, I define a clone as coming from the same host. --w00t
+ */
const UserManager::CloneCounts& clonecount = ServerInstance->Users->GetCloneCounts(i->first);
context.Write("member", InspIRCd::Format("%u %s%s (%s)", clonecount.global,
i->second->GetAllPrefixChars().c_str(), i->first->GetFullHost().c_str(),
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp
index 2647b63e1..0fb277b23 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -285,7 +285,7 @@ class SaslAuthenticator
case SASL_OK:
this->user->WriteNumeric(RPL_SASLSUCCESS, "SASL authentication successful");
break;
- case SASL_ABORT:
+ case SASL_ABORT:
this->user->WriteNumeric(ERR_SASLABORTED, "SASL authentication aborted");
break;
case SASL_FAIL:
diff --git a/src/modules/m_satopic.cpp b/src/modules/m_satopic.cpp
index dc1e95488..15c8bfcb5 100644
--- a/src/modules/m_satopic.cpp
+++ b/src/modules/m_satopic.cpp
@@ -33,7 +33,7 @@ class CommandSATopic : public Command
{
/*
* Handles a SATOPIC request. Notifies all +s users.
- */
+ */
Channel* target = ServerInstance->FindChan(parameters[0]);
if(target)