summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-10-29 18:33:07 +0100
committerattilamolnar <attilamolnar@hush.com>2012-10-29 18:33:07 +0100
commit504caa8ca9fd28cce112c929b523a6263e563f18 (patch)
treed700121815fcec0a66ae2618d76b3b4a45ed9d20
parent3366ace0a3fbaf7b8a603c0550382c35709bfe1f (diff)
Fix typo in doc and remove some whitespace
-rw-r--r--include/inspircd.h4
-rw-r--r--src/configreader.cpp3
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()