From 504caa8ca9fd28cce112c929b523a6263e563f18 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Mon, 29 Oct 2012 18:33:07 +0100 Subject: Fix typo in doc and remove some whitespace --- include/inspircd.h | 4 ++-- 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 as of 2.0a1"}, {"link", "transport", "has been moved to as of 2.0a1"}, - }; void ServerConfig::Fill() -- cgit v1.2.3