Browse files

Fix typo in doc and remove some whitespace

  • Loading branch information...
1 parent 3366ace commit 504caa8ca9fd28cce112c929b523a6263e563f18 @attilamolnar attilamolnar committed Oct 29, 2012
Showing with 3 additions and 4 deletions.
  1. +2 −2 include/inspircd.h
  2. +1 −2 src/configreader.cpp
View
4 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);
View
3 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()

0 comments on commit 504caa8

Please sign in to comment.