summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-04-27 16:36:40 +0100
committerSadie Powell <sadie@witchery.services>2021-04-27 16:41:14 +0100
commitb4a174ee9c32d62ea6bf010e837e8c5b1c3d36a3 (patch)
tree81327174fcc9df91ad7494e7b34829770caac727 /src/mode.cpp
parent8a5a1c799e5bec875b081f70639156429d7847e3 (diff)
Fix a bunch of weird indentation and spacing issues.
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp4
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();