diff options
author | Peter Powell <petpow@saberuk.com> | 2019-01-24 22:06:27 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-01-24 22:18:22 +0000 |
commit | 961109ae4fde97144fdedeef25607a5b8b3ec2c2 (patch) | |
tree | a04b3000fc1000b753fb60588a6f35305e60afdf /src/coremods | |
parent | dba2cddc463082ca028617df93e6726253e0866f (diff) |
Remove trailing whitespace from various source files.
Diffstat (limited to 'src/coremods')
-rw-r--r-- | src/coremods/core_oper/core_oper.cpp | 3 | ||||
-rw-r--r-- | src/coremods/core_serialize_rfc.cpp | 2 | ||||
-rw-r--r-- | src/coremods/core_whois.cpp | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/coremods/core_oper/core_oper.cpp b/src/coremods/core_oper/core_oper.cpp index d4afab3b8..be4b87714 100644 --- a/src/coremods/core_oper/core_oper.cpp +++ b/src/coremods/core_oper/core_oper.cpp @@ -42,9 +42,8 @@ class CoreModOper : public Module void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { - ConfigTag* tag = ServerInstance->Config->ConfValue("power"); - + // The hash method for *BOTH* the die and restart passwords powerhash = tag->getString("hash"); diff --git a/src/coremods/core_serialize_rfc.cpp b/src/coremods/core_serialize_rfc.cpp index 23a4c2052..6b693bfb9 100644 --- a/src/coremods/core_serialize_rfc.cpp +++ b/src/coremods/core_serialize_rfc.cpp @@ -59,7 +59,7 @@ bool RFCSerializer::Parse(LocalUser* user, const std::string& line, ClientProtoc // Work out how long the message can actually be. size_t maxline = ServerInstance->Config->Limits.MaxLine - start - 2; if (line[start] == '@') - maxline += MAX_CLIENT_MESSAGE_TAG_LENGTH + 1; + maxline += MAX_CLIENT_MESSAGE_TAG_LENGTH + 1; irc::tokenstream tokens(line, start, maxline); ServerInstance->Logs->Log("USERINPUT", LOG_RAWIO, "C[%s] I %s", user->uuid.c_str(), tokens.GetMessage().c_str()); diff --git a/src/coremods/core_whois.cpp b/src/coremods/core_whois.cpp index 0db634810..880e5a533 100644 --- a/src/coremods/core_whois.cpp +++ b/src/coremods/core_whois.cpp @@ -365,7 +365,7 @@ class CoreModWhois : public Module else if (stdalgo::string::equalsci(splitwhois, "splitmsg")) newsplitstate = SPLITWHOIS_SPLITMSG; else - throw ModuleException(splitwhois + " is an invalid <security:splitwhois> value, at " + tag->getTagLocation()); + throw ModuleException(splitwhois + " is an invalid <security:splitwhois> value, at " + tag->getTagLocation()); ConfigTag* security = ServerInstance->Config->ConfValue("security"); cmd.genericoper = security->getBool("genericoper"); |