summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2015-07-08 10:55:44 +0100
committerPeter Powell <petpow@saberuk.com>2015-07-08 11:06:02 +0100
commit1666b1a8d8d629fd4ea89b083863dc217154eee9 (patch)
treeb1e38d447c34fee25229945c2dd160b56683d026 /include
parent4362f53cc38177039d6f6b86565e73800e7b5390 (diff)
Fix a ton of typos.
Diffstat (limited to 'include')
-rw-r--r--include/anope.h6
-rw-r--r--include/hashcomp.h2
-rw-r--r--include/lists.h2
-rw-r--r--include/modules.h2
-rw-r--r--include/modules/cs_mode.h2
-rw-r--r--include/pstdint.h2
-rw-r--r--include/serialize.h4
-rw-r--r--include/sockets.h2
-rw-r--r--include/users.h4
9 files changed, 13 insertions, 13 deletions
diff --git a/include/anope.h b/include/anope.h
index 638661440..d27aa6546 100644
--- a/include/anope.h
+++ b/include/anope.h
@@ -543,7 +543,7 @@ namespace Anope
extern CoreExport Anope::string Random(size_t len);
}
-/** sepstream allows for splitting token seperated lists.
+/** sepstream allows for splitting token separated lists.
* Each successive call to sepstream::GetToken() returns
* the next token, until none remain, at which point the method returns
* an empty string.
@@ -615,7 +615,7 @@ class CoreExport sepstream
bool StreamEnd();
};
-/** A derived form of sepstream, which seperates on commas
+/** A derived form of sepstream, which separates on commas
*/
class commasepstream : public sepstream
{
@@ -625,7 +625,7 @@ class commasepstream : public sepstream
commasepstream(const Anope::string &source, bool allowempty = false) : sepstream(source, ',', allowempty) { }
};
-/** A derived form of sepstream, which seperates on spaces
+/** A derived form of sepstream, which separates on spaces
*/
class spacesepstream : public sepstream
{
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 140131e72..1b225de7d 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -123,7 +123,7 @@ namespace ci
* @param s1 String to find in
* @param n Position to search up to
* @param c Character to search for
- * @return Pointer to the first occurance of c in s1
+ * @return Pointer to the first occurrence of c in s1
*/
static const char *find(const char *s1, int n, char c);
};
diff --git a/include/lists.h b/include/lists.h
index 980f8b533..cb8e0cb64 100644
--- a/include/lists.h
+++ b/include/lists.h
@@ -52,7 +52,7 @@ class CoreExport NumberList
virtual void HandleNumber(unsigned number);
/** Called when there is an error with the numbered list
- * Return false to immediatly stop processing the list and return
+ * Return false to immediately stop processing the list and return
* This is all done before we start calling HandleNumber, so no numbers will have been processed yet
* @param list The list
* @return false to stop processing
diff --git a/include/modules.h b/include/modules.h
index 69e9e6d27..7367e2986 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1016,7 +1016,7 @@ class CoreExport Module : public Extensible
*/
virtual void OnLogMessage(LogInfo *li, const Log *l, const Anope::string &msg) { throw NotImplementedException(); }
- /** Called when a DNS request (question) is recieved.
+ /** Called when a DNS request (question) is received.
* @param req The dns request
* @param reply The reply that will be sent
*/
diff --git a/include/modules/cs_mode.h b/include/modules/cs_mode.h
index 44ffd5a7f..a4f0fe3f5 100644
--- a/include/modules/cs_mode.h
+++ b/include/modules/cs_mode.h
@@ -80,7 +80,7 @@ struct ModeLocks
virtual const ModeLock *GetMLock(const Anope::string &mname, const Anope::string &param = "") = 0;
/** Get the current mode locks as a string
- * @param complete True to show mlock parameters aswell
+ * @param complete True to show mlock parameters as well
* @return A string of mode locks, eg: +nrt
*/
virtual Anope::string GetMLockAsString(bool complete) const = 0;
diff --git a/include/pstdint.h b/include/pstdint.h
index fa64dbe70..a8de63fd7 100644
--- a/include/pstdint.h
+++ b/include/pstdint.h
@@ -73,7 +73,7 @@
* include stdint.h. The hope is that one or the other can be
* used with no real difference.
*
- * 5) In the current verison, if your platform can't represent
+ * 5) In the current version, if your platform can't represent
* int32_t, int16_t and int8_t, it just dumps out with a compiler
* error.
*
diff --git a/include/serialize.h b/include/serialize.h
index f83c9bfd3..52efb46aa 100644
--- a/include/serialize.h
+++ b/include/serialize.h
@@ -65,9 +65,9 @@ class CoreExport Serializable : public virtual Base
Serialize::Type *s_type;
/* Iterator into serializable_items */
std::list<Serializable *>::iterator s_iter;
- /* The hash of the last serialized form of this object commited to the database */
+ /* The hash of the last serialized form of this object committed to the database */
size_t last_commit;
- /* The last time this object was commited to the database */
+ /* The last time this object was committed to the database */
time_t last_commit_time;
protected:
diff --git a/include/sockets.h b/include/sockets.h
index ca61f7efc..129c27c8b 100644
--- a/include/sockets.h
+++ b/include/sockets.h
@@ -372,7 +372,7 @@ class CoreExport ListenSocket : public virtual Socket
virtual ~ListenSocket();
/** Process what has come in from the connection
- * @return false to destory this socket
+ * @return false to destroy this socket
*/
bool ProcessRead();
diff --git a/include/users.h b/include/users.h
index 04d1606a4..ea47aaf04 100644
--- a/include/users.h
+++ b/include/users.h
@@ -44,7 +44,7 @@ class CoreExport User : public virtual Base, public Extensible, public CommandRe
Anope::string vident;
Anope::string ident;
Anope::string uid;
- /* If the user is on the access list of the nick theyre on */
+ /* If the user is on the access list of the nick they're on */
bool on_access;
/* Map of user modes and the params this user has (if any) */
ModeList modes;
@@ -103,7 +103,7 @@ class CoreExport User : public virtual Base, public Extensible, public CommandRe
* @param svhost The vhost of the user
* @param sip The ip of the user
* @param sserver The server of the user
- * @param srealname The realname/gecos of teh user
+ * @param srealname The realname/gecos of the user
* @param ts User's timestamp
* @param smodes User's modes
* @param suid The unique identifier of the user.