summaryrefslogtreecommitdiff
path: root/include/anope.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-08-01 18:53:24 +0100
committerSadie Powell <sadie@witchery.services>2021-08-01 18:53:24 +0100
commit561b205c4a3a125c12a7926ef18fa1eb822c387c (patch)
treec763ddefe765e23ec0ff189e24d55f634b52b954 /include/anope.h
parent376053e0acae2a37a8f5c77c8de25ebf8a8395a9 (diff)
parent91321bdf682eb5b512373bb56c722f943cbc8183 (diff)
Merge branch '2.0' into 2.1.
Diffstat (limited to 'include/anope.h')
-rw-r--r--include/anope.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/anope.h b/include/anope.h
index aae043841..d998ce1a9 100644
--- a/include/anope.h
+++ b/include/anope.h
@@ -362,7 +362,7 @@ namespace Anope
*/
extern CoreExport int Debug;
- /** Other comand line options.
+ /** Other command line options.
*/
extern CoreExport bool ReadOnly, NoFork, NoThird, NoExpire, ProtocolDebug;
@@ -403,7 +403,7 @@ namespace Anope
/** Used to "fork" the process and go into the background during initial startup
* while we are AtTerm(). The actual fork is not done here, but earlier, and this
- * simply notifys the parent via kill() to exit().
+ * simply notifies the parent via kill() to exit().
*/
extern void Fork();
@@ -413,7 +413,7 @@ namespace Anope
/** One of the first functions called, does general initialization such as reading
* command line args, loading the configuration, doing the initial fork() if necessary,
- * initializating language support, loading modules, and loading databases.
+ * initializing language support, loading modules, and loading databases.
* @throws CoreException if something bad went wrong
*/
extern void Init(int ac, char **av);
@@ -566,7 +566,7 @@ class CoreExport sepstream
public:
/** Create a sepstream and fill it with the provided data
*/
- sepstream(const Anope::string &source, char seperator, bool allowempty = false);
+ sepstream(const Anope::string &source, char separator, bool allowempty = false);
/** Fetch the next token from the stream
* @param token The next token from the stream is placed here
@@ -576,7 +576,7 @@ class CoreExport sepstream
/** Gets token number 'num' from the stream
* @param token The token is placed here
- * @param num The token number to featch
+ * @param num The token number to fetch
* @return True if the token was able to be fetched
*/
bool GetToken(Anope::string &token, int num);
@@ -594,7 +594,7 @@ class CoreExport sepstream
/** Gets token number 'num' from the stream and all remaining tokens.
* @param token The token is placed here
- * @param num The token number to featch
+ * @param num The token number to fetch
* @return True if the token was able to be fetched
*/
bool GetTokenRemainder(Anope::string &token, int num);
@@ -620,7 +620,7 @@ class CoreExport sepstream
class commasepstream : public sepstream
{
public:
- /** Initialize with comma seperator
+ /** Initialize with comma separator
*/
commasepstream(const Anope::string &source, bool allowempty = false) : sepstream(source, ',', allowempty) { }
};
@@ -630,7 +630,7 @@ class commasepstream : public sepstream
class spacesepstream : public sepstream
{
public:
- /** Initialize with space seperator
+ /** Initialize with space separator
*/
spacesepstream(const Anope::string &source) : sepstream(source, ' ') { }
};
@@ -651,7 +651,7 @@ class CoreException : public std::exception
*/
Anope::string source;
public:
- /** Default constructor, just uses the error mesage 'Core threw an exception'.
+ /** Default constructor, just uses the error message 'Core threw an exception'.
*/
CoreException() : err("Core threw an exception"), source("The core") { }
/** This constructor can be used to specify an error message before throwing.
@@ -683,7 +683,7 @@ class CoreException : public std::exception
class ModuleException : public CoreException
{
public:
- /** Default constructor, just uses the error mesage 'Module threw an exception'.
+ /** Default constructor, just uses the error message 'Module threw an exception'.
*/
ModuleException() : CoreException("Module threw an exception", "A Module") { }
@@ -758,7 +758,7 @@ template<typename T> inline T convertTo(const Anope::string &s, bool failIfLefto
}
/** Casts to be used instead of dynamic_cast, this uses dynamic_cast
- * for debug builds and static_cast on releass builds
+ * for debug builds and static_cast on release builds
* to speed up the program because dynamic_cast relies on RTTI.
*/
#ifdef DEBUG_BUILD