diff options
-rw-r--r-- | include/inspircd.h | 4 | ||||
-rw-r--r-- | src/configreader.cpp | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index b61ef8031..86853a94f 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -705,9 +705,9 @@ class CoreExport InspIRCd * @return True i the mask is valid */ bool IsValidMask(const std::string &mask); - + /** Strips all color codes from the given string - * @para sentence The string to strip from + * @param sentence The string to strip from */ static void StripColor(std::string &sentence); diff --git a/src/configreader.cpp b/src/configreader.cpp index 56aab671f..866521b92 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -389,7 +389,7 @@ void ServerConfig::CrossCheckConnectBlocks(ServerConfig* current) throw CoreException("Two connect classes with name \"" + name + "\" defined!"); names[name] = i; - ConnectClass* me = parent ? + ConnectClass* me = parent ? new ConnectClass(tag, type, mask, *parent) : new ConnectClass(tag, type, mask); @@ -471,7 +471,6 @@ static const Deprecated ChangedConfig[] = { {"die", "value", "you need to reread your config"}, {"bind", "transport", "has been moved to <bind:ssl> as of 2.0a1"}, {"link", "transport", "has been moved to <link:ssl> as of 2.0a1"}, - }; void ServerConfig::Fill() |