]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_disable.cpp
Fix various cases of broken indentation.
[user/henk/code/inspircd.git] / src / modules / m_disable.cpp
index 203f9ee649407639f15b42947f03bd5a113402c2..97013a2dadacbf2453c7718ce0bf5e8f7a6d7821 100644 (file)
@@ -55,7 +55,7 @@ class ModuleDisable : public Module
                        // Check that the mode actually exists.
                        ModeHandler* mh = ServerInstance->Modes->FindMode(chr, type);
                        if (!chr)
-                               throw ModuleException(InspIRCd::Format("Non-existent mode '%c' was specified in <disabled:%s> at %s",
+                               throw ModuleException(InspIRCd::Format("Nonexistent mode '%c' was specified in <disabled:%s> at %s",
                                        chr, field.c_str(), tag->getTagLocation().c_str()));
 
                        // Disable the mode.
@@ -89,7 +89,7 @@ class ModuleDisable : public Module
                        // Check that the command actually exists.
                        Command* handler = ServerInstance->Parser.GetHandler(command);
                        if (!handler)
-                               throw ModuleException(InspIRCd::Format("Non-existent command '%s' was specified in <disabled:commands> at %s",
+                               throw ModuleException(InspIRCd::Format("Nonexistent command '%s' was specified in <disabled:commands> at %s",
                                        command.c_str(), tag->getTagLocation().c_str()));
 
                        // Prevent admins from disabling COMMANDS and MODULES for transparency reasons.
@@ -170,7 +170,7 @@ class ModuleDisable : public Module
                        // The server administrator has specified that disabled modes should be
                        // treated as if they do not exist.
                        user->WriteNumeric(mh->GetModeType() == MODETYPE_CHANNEL ? ERR_UNKNOWNMODE : ERR_UNKNOWNSNOMASK,
-                               mh->GetModeChar(), "is unknown mode char to me");
+                               mh->GetModeChar(), "is an unknown mode character");
                        return MOD_RES_DENY;
                }