]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/mode.cpp
Fix a bunch of weird indentation and spacing issues.
[user/henk/code/inspircd.git] / src / mode.cpp
index 3ce7ee10ffc3a59b72ad712f266fa94eb2de37f9..3538052b7a3e4d4310527366853aa659bdcf7530 100644 (file)
@@ -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();