diff options
author | Sadie Powell <sadie@witchery.services> | 2021-04-27 16:36:40 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-04-27 16:41:14 +0100 |
commit | b4a174ee9c32d62ea6bf010e837e8c5b1c3d36a3 (patch) | |
tree | 81327174fcc9df91ad7494e7b34829770caac727 /src/mode.cpp | |
parent | 8a5a1c799e5bec875b081f70639156429d7847e3 (diff) |
Fix a bunch of weird indentation and spacing issues.
Diffstat (limited to 'src/mode.cpp')
-rw-r--r-- | src/mode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 3ce7ee10f..3538052b7 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -575,7 +575,7 @@ void ModeParser::CleanMask(std::string &mask) else if ((pos_of_pling == std::string::npos) && (pos_of_at != std::string::npos)) { /* Has an @ but no !, its a user@host */ - mask = "*!" + mask; + mask = "*!" + mask; } else if ((pos_of_pling != std::string::npos) && (pos_of_at == std::string::npos)) { @@ -759,9 +759,9 @@ std::string ModeParser::GiveModeList(ModeType mt) for (unsigned char mode = 'A'; mode <= 'z'; mode++) { ModeHandler* mh = modehandlers[mt][mode-65]; - /* One parameter when adding */ if (mh) { + /* One parameter when adding */ if (mh->NeedsParam(true)) { PrefixMode* pm = mh->IsPrefixMode(); |