]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixes by misspell-fixer
authorInspIRCd Robot <noreply@inspircd.org>
Tue, 21 Apr 2020 06:34:17 +0000 (06:34 +0000)
committerMatt Schatz <genius3000@g3k.solutions>
Tue, 21 Apr 2020 06:52:12 +0000 (00:52 -0600)
65 files changed:
docs/conf/inspircd.conf.example
docs/conf/modules.conf.example
docs/conf/quotes.txt.example
include/channels.h
include/clientprotocol.h
include/command_parse.h
include/configreader.h
include/ctables.h
include/extensible.h
include/hashcomp.h
include/inspircd.h
include/inspstring.h
include/logger.h
include/mode.h
include/modules.h
include/modules/sql.h
include/modules/ssl.h
include/protocol.h
include/socketengine.h
include/threadengines/threadengine_pthread.h
include/threadengines/threadengine_win32.h
include/typedefs.h
include/usermanager.h
include/users.h
include/xline.h
locales/readme.txt
src/cidr.cpp
src/command_parse.cpp
src/coremods/core_channel/cmode_k.cpp
src/coremods/core_oper/cmd_kill.cpp
src/coremods/core_serialize_rfc.cpp
src/coremods/core_whois.cpp
src/helperfuncs.cpp
src/inspircd.cpp
src/modules.cpp
src/modules/extra/m_mysql.cpp
src/modules/extra/m_pgsql.cpp
src/modules/m_alias.cpp
src/modules/m_callerid.cpp
src/modules/m_dccallow.cpp
src/modules/m_filter.cpp
src/modules/m_httpd.cpp
src/modules/m_ident.cpp
src/modules/m_ircv3_capnotify.cpp
src/modules/m_permchannels.cpp
src/modules/m_spanningtree/capab.cpp
src/modules/m_spanningtree/commands.h
src/modules/m_spanningtree/ftopic.cpp
src/modules/m_spanningtree/main.cpp
src/modules/m_spanningtree/main.h
src/modules/m_spanningtree/override_map.cpp
src/modules/m_spanningtree/resolvers.cpp
src/modules/m_spanningtree/resolvers.h
src/modules/m_spanningtree/treeserver.cpp
src/modules/m_spanningtree/treesocket2.cpp
src/modules/m_spanningtree/uid.cpp
src/modules/m_sslmodes.cpp
src/modules/m_userip.cpp
src/modules/m_xline_db.cpp
src/snomasks.cpp
src/users.cpp
src/xline.cpp
win/inspircd_memory_functions.cpp
win/inspircd_win32wrapper.h
win/win32service.cpp

index 1544666a9c914a1784dc859c7f736fd1e8c4fe68..73a188a4f5a6e33038113cfec5144fe66f2f94be 100644 (file)
              # This can be useful where your main class is more restrictive
              # than some other class a user can be assigned after DNS lookup is complete.
              # Turning this option off will make the server spend more time on users we may
-             # potentially not want. Normally this should be neglible, though.
+             # potentially not want. Normally this should be negligible, though.
              # Default value is true
              clonesonconnect="yes"
 
 # There are many different types which may be used, and modules may
 # generate their own. A list of useful types:
 #  - USERS - information relating to user connection and disconnection
-#  - OPER - succesful and failed oper attempts
+#  - OPER - successful and failed oper attempts
 #  - KILL - kill related messages
 #  - FILTER - messages related to filter matches (filter module)
 #  - CONFIG - configuration related messages
index ee60e7f418121d6db54436a1a4d12fd45f4cbe00..85180d78d27ec7896799b1f52e098315fae62dbe 100644 (file)
 # repeated to whitelist multiple CIDRs.                               #
 #                                                                     #
 # ldaprequire allows further filtering on the LDAP user, by requiring #
-# certain LDAP attibutes to have a given value. It can be repeated,   #
+# certain LDAP attributes to have a given value. It can be repeated,   #
 # in which case the list will act as an OR list, that is, the         #
 # authentication will succeed if any of the requirements in the list  #
 # is satisfied.                                                       #
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
 # SAMODE module: Adds the /SAMODE command which allows server operators
 # to change modes on a channel without requiring them to have any
-# channel priviliges. Also allows changing user modes for any user.
+# channel privileges. Also allows changing user modes for any user.
 # This module is oper-only.
 # To use, SAMODE must be in one of your oper class blocks.
 #<module name="samode">
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
 # SATOPIC module: Adds the /SATOPIC command which allows changing the
-# topic on a channel without requiring any channel priviliges.
+# topic on a channel without requiring any channel privileges.
 # This module is oper-only.
 # To use, SATOPIC must be in one of your oper class blocks.
 #<module name="satopic">
index c07e1379a0a2124008e0ca192539ff0e5a233b0b..acb4568584f11e3383767268526654dec319324e 100644 (file)
@@ -79,7 +79,7 @@ We are Microsoft. Resistance Is Futile. You Will Be Assimilated
 Windows isn't a virus, viruses do something
 PANIC! buffer = :NickServ WRITE_DB(3). <-- JUST KIDDING!
 It just keeps going and going and going and going and goi <BANG>
-All that I know is that nukes are comming from 127.0.0.1
+All that I know is that nukes are coming from 127.0.0.1
 I know all about the irc and the mirc cops.
 M re ink n ed d, ple s  r fil
 Please refrain from feeding the server operators. Thank you.
@@ -162,7 +162,7 @@ Computing Definition - Error: What someone else has made when they disagree with
 Backup not found: (A)bort (R)etry (P)anic
 WinErr 653: Multitasking attempted - system confused.
 Cannot join #real_life (invite only)
-"Unfortunatly, no one can be told what the Matrix is. You have to see it for yourself." - Matrix
+"Unfortunately, no one can be told what the Matrix is. You have to see it for yourself." - Matrix
 "Reality is a thing of the past" - Matrix
 "The future will not be user friendly" - Matrix
 "The general idea in chat is to make yourself understandable... ..." - Peer
index f01a0434fd22d2937c4febf67d8ce1a79c7c666d..c42a64efca6291af03706cb87f08445b3c0b06ca 100644 (file)
@@ -33,7 +33,7 @@
  * This class contains a single element in a channel list, such as a banlist.
  */
 
-/** Holds all relevent information for a channel.
+/** Holds all relevant information for a channel.
  * This class represents a channel, and contains its name, modes, topic, topic set time,
  * etc, and an instance of the BanList type.
  */
@@ -158,7 +158,7 @@ class CoreExport Channel : public Extensible
         * @param user The user to add
         *
         * The data inserted into the reference list is a table as it is
-        * an arbitary pointer compared to other users by its memory address,
+        * an arbitrary pointer compared to other users by its memory address,
         * as this is a very fast 32 or 64 bit integer comparison.
         */
        Membership* AddUser(User* user);
@@ -228,7 +228,7 @@ class CoreExport Channel : public Extensible
 
        /** Join a user to an existing channel, without doing any permission checks
         * @param user The user to join to the channel
-        * @param privs Priviliges (prefix mode letters) to give to this user, may be NULL
+        * @param privs Privileges (prefix mode letters) to give to this user, may be NULL
         * @param bursting True if this join is the result of a netburst (passed to modules in the OnUserJoin hook)
         * @param created_by_local True if this channel was just created by a local user (passed to modules in the OnUserJoin hook)
         * @return A newly created Membership object, or NULL if the user was already inside the channel or if the user is a server user
index e0ac78a88e1b5f75c2a33cf7e1ef5f18127866cc..16f08a6f6a010e10ef9f65cde810bae405cb312a 100644 (file)
@@ -700,7 +700,7 @@ class CoreExport ClientProtocol::Serializer : public DataProvider
         * @param tagname Name of the tag.
         * @param tagvalue Tag value, may be empty.
         * @param tags TagMap to place the tag into, if it gets accepted.
-        * @return True if no error occured, false if the tag name is invalid or if this tag already exists.
+        * @return True if no error occurred, false if the tag name is invalid or if this tag already exists.
         */
        bool HandleTag(LocalUser* user, const std::string& tagname, std::string& tagvalue, TagMap& tags) const;
 
index 9fd135349206687ae75bc74fb3a3b3347f5ca24c..d1a9d5e038f653233b26a7fbce27285330c0c4db 100644 (file)
@@ -28,7 +28,7 @@
 
 /** This class handles command management and parsing.
  * It allows you to add and remove commands from the map,
- * call command handlers by name, and chop up comma seperated
+ * call command handlers by name, and chop up comma separated
  * parameters into multiple calls.
  */
 class CoreExport CommandParser
@@ -78,7 +78,7 @@ class CoreExport CommandParser
         */
        Command* GetHandler(const std::string &commandname);
 
-       /** LoopCall is used to call a command handler repeatedly based on the contents of a comma seperated list.
+       /** LoopCall is used to call a command handler repeatedly based on the contents of a comma separated list.
         * There are two ways to call this method, either with one potential list or with two potential lists.
         * We need to handle two potential lists for JOIN, because a JOIN may contain two lists of items at once:
         * the channel names and their keys as follows:
@@ -101,15 +101,15 @@ class CoreExport CommandParser
         * If there are two lists and the second list runs out of tokens before the first list then parameters[extra]
         * will be an EMPTY string when Handle() is called for the remaining tokens in the first list, even if it is
         * in the middle of parameters[]! Moreover, empty tokens in the second list are allowed, and those will also
-        * result in the appropiate entry being empty in parameters[].
+        * result in the appropriate entry being empty in parameters[].
         * This is different than what command handlers usually expect; the command parser only allows an empty param
         * as the last item in the vector.
         *
         * @param user The user who sent the command
         * @param handler The command handler to call for each parameter in the list
         * @param parameters Parameter list as a vector of strings
-        * @param splithere The first parameter index to split as a comma seperated list
-        * @param extra The second parameter index to split as a comma seperated list, or -1 (the default) if there is only one list
+        * @param splithere The first parameter index to split as a comma separated list
+        * @param extra The second parameter index to split as a comma separated list, or -1 (the default) if there is only one list
         * @param usemax True to limit the command to MaxTargets targets (default), or false to process all tokens
         * @return This function returns true when it identified a list in the given parameter and finished calling the
         * command handler for each entry on the list. When this occurs, the caller should return without doing anything,
index 5a775a016eb1f6c4ba386495ad0cc29083b881ed..e1f9f01ba11bfafbff0275ed041820c945793ba3 100644 (file)
@@ -313,12 +313,12 @@ class CoreExport ServerConfig
        CommandLineConf cmdline;
 
        /** Clones CIDR range for ipv4 (0-32)
-        * Defaults to 32 (checks clones on all IPs seperately)
+        * Defaults to 32 (checks clones on all IPs separately)
         */
        unsigned char c_ipv4_range;
 
        /** Clones CIDR range for ipv6 (0-128)
-        * Defaults to 128 (checks on all IPs seperately)
+        * Defaults to 128 (checks on all IPs separately)
         */
        unsigned char c_ipv6_range;
 
@@ -332,7 +332,7 @@ class CoreExport ServerConfig
        std::string XLineMessage;
 
        /* Holds the network name the local server
-        * belongs to. This is an arbitary field defined
+        * belongs to. This is an arbitrary field defined
         * by the administrator.
         */
        std::string Network;
index 2049738c97c586c0303b4cbac0db8f98ecff8f8f..5a2f9494051985d87464a4bb7650e04490b901ad 100644 (file)
@@ -177,7 +177,7 @@ class CoreExport CommandBase : public ServiceProvider
         * @param cmd Command name. This must be UPPER CASE.
         * @param minpara Minimum parameters required for the command.
         * @param maxpara Maximum number of parameters this command may have - extra parameters
-        * will be tossed into one last space-seperated param.
+        * will be tossed into one last space-separated param.
         */
        CommandBase(Module* me, const std::string& cmd, unsigned int minpara = 0, unsigned int maxpara = 0);
 
index 6c31468848c2d6d85b656c0e8189956972acafdc..6b4c4a78a447f337b21583df4bff58d7a73b402a 100644 (file)
@@ -134,7 +134,7 @@ class CoreExport ExtensionItem : public ServiceProvider, public usecountbase
  * a map associated with the object. In this way modules can store their own custom information within user
  * objects, channel objects and server objects, without breaking other modules (this is more sensible than using
  * a flags variable, and each module defining bits within the flag as 'theirs' as it is less prone to conflict and
- * supports arbitary data storage).
+ * supports arbitrary data storage).
  */
 class CoreExport Extensible
        : public classbase
index 5626a389df339ddf84882c299fe0b8ff48435449..5308d95c44205ee625816b8730d0f921a584fc1d 100644 (file)
@@ -51,7 +51,7 @@
  * mapping arrays internally.
  *******************************************************/
 
-/** Seperate from the other casemap tables so that code *can* still exclusively rely on RFC casemapping
+/** Separate from the other casemap tables so that code *can* still exclusively rely on RFC casemapping
  * if it must.
  *
  * This is provided as a pointer so that modules can change it to their custom mapping tables,
@@ -114,7 +114,7 @@ namespace irc
                bool CoreExport operator()(const std::string& a, const std::string& b) const;
        };
 
-       /** irc::sepstream allows for splitting token seperated lists.
+       /** irc::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
         * false.
@@ -177,7 +177,7 @@ namespace irc
                bool Contains(const std::string& value);
        };
 
-       /** A derived form of sepstream, which seperates on commas
+       /** A derived form of sepstream, which separates on commas
         */
        class CoreExport commasepstream : public sepstream
        {
@@ -189,7 +189,7 @@ namespace irc
                }
        };
 
-       /** A derived form of sepstream, which seperates on spaces
+       /** A derived form of sepstream, which separates on spaces
         */
        class CoreExport spacesepstream : public sepstream
        {
@@ -242,7 +242,7 @@ namespace irc
                bool GetTrailing(std::string& token);
        };
 
-       /** The portparser class seperates out a port range into integers.
+       /** The portparser class separates out a port range into integers.
         * A port range may be specified in the input string in the form
         * "6660,6661,6662-6669,7020". The end of the stream is indicated by
         * a return value of 0 from portparser::GetToken(). If you attempt
index 11948e2cf08092e77d012f5694320559e5ab6b10..e30933492d7f1c9b22a6dd0f11b9302e6c75c856 100644 (file)
@@ -212,7 +212,7 @@ class CoreExport InspIRCd
         * Reason for it:
         * kludge alert!
         * SendMode expects a User* to send the numeric replies
-        * back to, so we create it a fake user that isnt in the user
+        * back to, so we create it a fake user that isn't in the user
         * hash and set its descriptor to FD_MAGIC_NUMBER so the data
         * falls into the abyss :p
         */
index 050a375e118788b0d08433f30def068df914dac2..de0f8be42f4f26931d8428f492347e1ea8658b04 100644 (file)
@@ -31,7 +31,7 @@
 #include "config.h"
 #include <cstring>
 
-/** Sets ret to the formated string. last is the last parameter before ..., and format is the format in printf-style */
+/** Sets ret to the formatted string. last is the last parameter before ..., and format is the format in printf-style */
 #define VAFORMAT(ret, last, format) \
        do { \
        va_list _vaList; \
index 16c32229a5dc50ca842c5988a46ff911eacb88bb..6af842b791b11384150c7677baac24b601a199be 100644 (file)
@@ -50,7 +50,7 @@ class CoreExport FileWriter
         */
        unsigned int flush;
 
-       /** Number of write operations that have occured
+       /** Number of write operations that have occurred
         */
        unsigned int writeops;
 
@@ -126,7 +126,7 @@ typedef std::map<FileWriter*, int> FileLogMap;
 class CoreExport LogManager : public fakederef<LogManager>
 {
  private:
-       /** Lock variable, set to true when a log is in progress, which prevents further loggging from happening and creating a loop.
+       /** Lock variable, set to true when a log is in progress, which prevents further logging from happening and creating a loop.
         */
        bool Logging;
 
index a7d6ff2b0a8be8c3e44e26325e95fee8f82b9428..97222bf783ee02e927c0259d5d4894743c999c85 100644 (file)
@@ -137,7 +137,7 @@ class CoreExport ModeHandler : public ServiceProvider
         * inside the mode parser as in the 1.0 api,
         * so the only use of this value (along with
         * IsListMode()) is for the core to determine
-        * wether your module can produce 'lists' or not
+        * whether your module can produce 'lists' or not
         * (e.g. banlists, etc)
         */
        bool list;
@@ -163,7 +163,7 @@ class CoreExport ModeHandler : public ServiceProvider
 
  public:
        /**
-        * The constructor for ModeHandler initalizes the mode handler.
+        * The constructor for ModeHandler initializes the mode handler.
         * The constructor of any class you derive from ModeHandler should
         * probably call this constructor with the parameters set correctly.
         * @param me The module which created this mode
@@ -293,7 +293,7 @@ class CoreExport ModeHandler : public ServiceProvider
        /**
         * If your mode is a listmode, this method will be called to display an empty list (just the end of list numeric)
         * @param user The user issuing the command
-        * @param channel The channel tehy're requesting an item list of (e.g. a banlist, or an exception list etc)
+        * @param channel The channel they're requesting an item list of (e.g. a banlist, or an exception list etc)
         */
        virtual void DisplayEmptyList(User* user, Channel* channel);
 
@@ -311,7 +311,7 @@ class CoreExport ModeHandler : public ServiceProvider
 
        /**
         * When a MODETYPE_USER mode handler is being removed, the core will call this method for every user on the server.
-        * The usermode will be removed using the appropiate server mode using InspIRCd::SendMode().
+        * The usermode will be removed using the appropriate server mode using InspIRCd::SendMode().
         * @param user The user which the server wants to remove your mode from
         */
        void RemoveMode(User* user);
@@ -765,7 +765,7 @@ class CoreExport ModeParser : public fakederef<ModeParser>
        /** Find the mode handler for a given mode and type.
         * @param modeletter mode letter to search for
         * @param mt type of mode to search for, user or channel
-        * @returns a pointer to a ModeHandler class, or NULL of there isnt a handler for the given mode
+        * @returns a pointer to a ModeHandler class, or NULL of there isn't a handler for the given mode
         */
        ModeHandler* FindMode(unsigned const char modeletter, ModeType mt);
 
@@ -782,7 +782,7 @@ class CoreExport ModeParser : public fakederef<ModeParser>
         */
        PrefixMode* FindPrefix(unsigned const char pfxletter);
 
-       /** Generates a list of modes, comma seperated by type:
+       /** Generates a list of modes, comma separated by type:
         *  1; Listmodes EXCEPT those with a prefix
         *  2; Modes that take a param when adding or removing
         *  3; Modes that only take a param when adding
index 82684cac83ca087d5f43b4a06593db32f6fb8bd7..2b578e58cf65db63eedf08e29740eb7f0e1661f5 100644 (file)
@@ -185,7 +185,7 @@ class CoreExport Version
        /** Simple module version */
        Version(const std::string &desc, int flags = VF_NONE);
 
-       /** Complex version information, including linking compatability data */
+       /** Complex version information, including linking compatibility data */
        Version(const std::string &desc, int flags, const std::string& linkdata);
 };
 
@@ -227,7 +227,7 @@ enum Implementation
 /** Base class for all InspIRCd modules
  *  This class is the base class for InspIRCd modules. All modules must inherit from this class,
  *  its methods will be called when irc server events occur. class inherited from module must be
- *  instantiated by the ModuleFactory class (see relevent section) for the module to be initialised.
+ *  instantiated by the ModuleFactory class (see relevant section) for the module to be initialised.
  */
 class CoreExport Module : public classbase, public usecountbase
 {
@@ -446,7 +446,7 @@ class CoreExport Module : public classbase, public usecountbase
 
        /** Called after a user opers locally.
         * This is identical to Module::OnOper(), except it is called after OnOper so that other modules
-        * can be gauranteed to already have processed the oper-up, for example m_spanningtree has sent
+        * can be guaranteed to already have processed the oper-up, for example m_spanningtree has sent
         * out the OPERTYPE, etc.
         * @param user The user who is opering up
         * @param opername The name of the oper that the user is opering up to. Only valid locally. Empty string otherwise.
@@ -472,7 +472,7 @@ class CoreExport Module : public classbase, public usecountbase
        virtual ModResult OnUserPreInvite(User* source,User* dest,Channel* channel, time_t timeout);
 
        /** Called after a user has been successfully invited to a channel.
-        * You cannot prevent the invite from occuring using this function, to do that,
+        * You cannot prevent the invite from occurring using this function, to do that,
         * use OnUserPreInvite instead.
         * @param source The user who is issuing the INVITE
         * @param dest The user being invited
@@ -639,7 +639,7 @@ class CoreExport Module : public classbase, public usecountbase
 
        /** Called when a 005 numeric is about to be output.
         * The module should modify the 005 numeric if needed to indicate its features.
-       * @param tokens The 005 map to be modified if neccessary.
+       * @param tokens The 005 map to be modified if necessary.
        */
        virtual void On005Numeric(std::map<std::string, std::string>& tokens);
 
@@ -665,7 +665,7 @@ class CoreExport Module : public classbase, public usecountbase
         * for example loaded "m_killwidgets.so" with "m_makewidgets.so". It is highly
         * recommended that modules do *NOT* bail if they cannot satisfy dependencies,
         * but instead operate under reduced functionality, unless the dependency is
-        * absolutely neccessary (e.g. a module that extends the features of another
+        * absolutely necessary (e.g. a module that extends the features of another
         * module).
         * @param mod A pointer to the new module
         */
@@ -678,7 +678,7 @@ class CoreExport Module : public classbase, public usecountbase
         * for example loaded "m_killwidgets.so" with "m_makewidgets.so". It is highly
         * recommended that modules do *NOT* bail if they cannot satisfy dependencies,
         * but instead operate under reduced functionality, unless the dependency is
-        * absolutely neccessary (e.g. a module that extends the features of another
+        * absolutely necessary (e.g. a module that extends the features of another
         * module).
         * @param mod Pointer to the module being unloaded (still valid)
         */
@@ -686,18 +686,18 @@ class CoreExport Module : public classbase, public usecountbase
 
        /** Called once every five seconds for background processing.
         * This timer can be used to control timed features. Its period is not accurate
-        * enough to be used as a clock, but it is gauranteed to be called at least once in
+        * enough to be used as a clock, but it is guaranteed to be called at least once in
         * any five second period, directly from the main loop of the server.
         * @param curtime The current timer derived from time(2)
         */
        virtual void OnBackgroundTimer(time_t curtime);
 
        /** Called whenever any command is about to be executed.
-        * This event occurs for all registered commands, wether they are registered in the core,
+        * This event occurs for all registered commands, whether they are registered in the core,
         * or another module, and for invalid commands. Invalid commands may only be sent to this
         * function when the value of validated is false. By returning 1 from this method you may prevent the
         * command being executed. If you do this, no output is created by the core, and it is
-        * down to your module to produce any output neccessary.
+        * down to your module to produce any output necessary.
         * Note that unless you return 1, you should not destroy any structures (e.g. by using
         * InspIRCd::QuitUser) otherwise when the command's handler function executes after your
         * method returns, it will be passed an invalid pointer to the user object and crash!)
@@ -711,7 +711,7 @@ class CoreExport Module : public classbase, public usecountbase
        virtual ModResult OnPreCommand(std::string& command, CommandBase::Params& parameters, LocalUser* user, bool validated);
 
        /** Called after any command has been executed.
-        * This event occurs for all registered commands, wether they are registered in the core,
+        * This event occurs for all registered commands, whether they are registered in the core,
         * or another module, but it will not occur for invalid commands (e.g. ones which do not
         * exist within the command table). The result code returned by the command handler is
         * provided.
@@ -768,7 +768,7 @@ class CoreExport Module : public classbase, public usecountbase
        virtual ModResult OnUserRegister(LocalUser* user);
 
        /** Called whenever a user joins a channel, to determine if invite checks should go ahead or not.
-        * This method will always be called for each join, wether or not the channel is actually +i, and
+        * This method will always be called for each join, whether or not the channel is actually +i, and
         * determines the outcome of an if statement around the whole section of invite checking code.
         * return 1 to explicitly allow the join to go ahead or 0 to ignore the event.
         * @param user The user joining the channel
@@ -791,7 +791,7 @@ class CoreExport Module : public classbase, public usecountbase
        virtual ModResult OnRawMode(User* user, Channel* chan, ModeHandler* mh, const std::string& param, bool adding);
 
        /** Called whenever a user joins a channel, to determine if key checks should go ahead or not.
-        * This method will always be called for each join, wether or not the channel is actually +k, and
+        * This method will always be called for each join, whether or not the channel is actually +k, and
         * determines the outcome of an if statement around the whole section of key checking code.
         * if the user specified no key, the keygiven string will be a valid but empty value.
         * return 1 to explicitly allow the join to go ahead or 0 to ignore the event.
@@ -803,7 +803,7 @@ class CoreExport Module : public classbase, public usecountbase
        virtual ModResult OnCheckKey(User* user, Channel* chan, const std::string &keygiven);
 
        /** Called whenever a user joins a channel, to determine if channel limit checks should go ahead or not.
-        * This method will always be called for each join, wether or not the channel is actually +l, and
+        * This method will always be called for each join, whether or not the channel is actually +l, and
         * determines the outcome of an if statement around the whole section of channel limit checking code.
         * return 1 to explicitly allow the join to go ahead or 0 to ignore the event.
         * @param user The user joining the channel
@@ -1057,17 +1057,17 @@ class CoreExport ModuleManager : public fakederef<ModuleManager>
        void SetPriority(Module* mod, Priority s);
 
        /** Attach an event to a module.
-        * You may later detatch the event with ModuleManager::Detach().
-        * If your module is unloaded, all events are automatically detatched.
+        * You may later detach the event with ModuleManager::Detach().
+        * If your module is unloaded, all events are automatically detached.
         * @param i Event type to attach
         * @param mod Module to attach event to
         * @return True if the event was attached
         */
        bool Attach(Implementation i, Module* mod);
 
-       /** Detatch an event from a module.
+       /** Detach an event from a module.
         * This is not required when your module unloads, as the core will
-        * automatically detatch your module from all events it is attached to.
+        * automatically detach your module from all events it is attached to.
         * @param i Event type to detach
         * @param mod Module to detach event from
         * @return True if the event was detached
index 927d54ee7669e6e13b8a979e0ed912c9dbb8fe24..47da6f6bff2a3c40cad577678613ce47c8d4b9b9 100644 (file)
@@ -107,7 +107,7 @@ class SQL::Result : public classbase
        /**
         * Return the number of rows in the result.
         *
-        * Note that if you have perfomed an INSERT or UPDATE query or other
+        * Note that if you have performed an INSERT or UPDATE query or other
         * query which will not return rows, this will return the number of
         * affected rows. In this case you SHOULD NEVER access any of the result
         * set rows, as there aren't any!
index 01e08b2e24a0fb55d1d48cbee4bef527f00ee5ec..017502fa90eec67ec5c227e7ae9f001894c8bd90 100644 (file)
@@ -65,7 +65,7 @@ class ssl_cert : public refcountbase
                return issuer;
        }
 
-       /** Get error string if an error has occured
+       /** Get error string if an error has occurred
         * @return The error associated with this users certificate,
         * or an empty string if there is no error.
         */
@@ -302,7 +302,7 @@ class UserCertificateAPIBase : public DataProvider
        }
 };
 
-/** API implemented by m_sslinfo that allows modules to retrive the TLS (SSL) certificate
+/** API implemented by m_sslinfo that allows modules to retrieve the TLS (SSL) certificate
  * information of local and remote users. It can also be used to find out whether a
  * user is using TLS (SSL) or not.
  */
index c3a3e8f4bc9195bc0b98ca2007f51193fd351083..69f78562a8440ac59488e9e374ce19875f2126d2 100644 (file)
@@ -62,7 +62,7 @@ class CoreExport ProtocolInterface
         * See the protocol documentation for the purpose of ENCAP.
         * @param targetmask The target server mask (can contain wildcards)
         * @param cmd The ENCAP subcommand
-        * @param params List of string parameters which are dependant on the subcommand
+        * @param params List of string parameters which are dependent on the subcommand
         * @param source The source of the message (prefix), must be a local user or NULL which means use local server
         * @return Always true if the target mask contains wildcards; otherwise true if the server name was found,
         * and the message was sent, false if it was not found.
@@ -73,7 +73,7 @@ class CoreExport ProtocolInterface
        /** Send an ENCAP message to all servers.
         * See the protocol documentation for the purpose of ENCAP.
         * @param cmd The ENCAP subcommand
-        * @param params List of string parameters which are dependant on the subcommand
+        * @param params List of string parameters which are dependent on the subcommand
         * @param source The source of the message (prefix), must be a local user or a user behind 'omit'
         * or NULL which is equivalent to the local server
         * @param omit If non-NULL the message won't be sent in the direction of this server, useful for forwarding messages
index 2b759dad84ef541818296ce0439b8086c7be4a8d..8bb8504a624fda509fe9a5909a749fa3b6ea5659 100644 (file)
@@ -187,7 +187,7 @@ class CoreExport EventHandler : public classbase
 
        inline int GetEventMask() const { return event_mask; }
 
-       /** Set a new file desciptor
+       /** Set a new file descriptor
         * @param FD The new file descriptor. Do not call this method without
         * first deleting the object from the SocketEngine if you have
         * added it to a SocketEngine instance.
@@ -393,7 +393,7 @@ public:
        static bool HasFd(int fd);
 
        /** Returns the EventHandler attached to a specific fd.
-        * If the fd isnt in the socketengine, returns NULL.
+        * If the fd isn't in the socketengine, returns NULL.
         * @param fd The event handler to look for
         * @return A pointer to the event handler, or NULL
         */
@@ -404,7 +404,7 @@ public:
         * number of events which occurred during this call.  This method will
         * dispatch events to their handlers by calling their
         * EventHandler::OnEventHandler*() methods.
-        * @return The number of events which have occured.
+        * @return The number of events which have occurred.
         */
        static int DispatchEvents();
 
index d301aaf884c98f058fa2e150e0edf30ed8d3bec3..d1810c812320317243f2745c2cff59f7e4734cfe 100644 (file)
@@ -70,7 +70,7 @@ class CoreExport ThreadEngine
 /** The Mutex class represents a mutex, which can be used to keep threads
  * properly synchronised. Use mutexes sparingly, as they are a good source
  * of thread deadlocks etc, and should be avoided except where absolutely
- * neccessary. Note that the internal behaviour of the mutex varies from OS
+ * necessary. Note that the internal behaviour of the mutex varies from OS
  * to OS depending on the thread engine, for example in windows a Mutex
  * in InspIRCd uses critical sections, as they are faster and simpler to
  * manage.
index 6271db72f2fd443849982c8dbaa5173af37ba229..2fdf1cb242d2bc631f851a80714f9895bb046d02 100644 (file)
@@ -75,7 +75,7 @@ class CoreExport ThreadEngine
 /** The Mutex class represents a mutex, which can be used to keep threads
  * properly synchronised. Use mutexes sparingly, as they are a good source
  * of thread deadlocks etc, and should be avoided except where absolutely
- * neccessary. Note that the internal behaviour of the mutex varies from OS
+ * necessary. Note that the internal behaviour of the mutex varies from OS
  * to OS depending on the thread engine, for example in windows a Mutex
  * in InspIRCd uses critical sections, as they are faster and simpler to
  * manage.
index 3222c5d2f03429baa90bd46f196a1c5055ceaad7..8dc5b4c543264de9b8a77a82fe3868208938bc6b 100644 (file)
@@ -134,7 +134,7 @@ typedef std::map<std::string, XLineLookup > XLineContainer;
  */
 typedef XLineContainer::iterator ContainerIter;
 
-/** An interator in an XLineLookup
+/** An iterator in an XLineLookup
  */
 typedef XLineLookup::iterator LookupIter;
 
index 2a18393abc63aef3ec43c05f0b0c62b539108ba8..9d7edd34b0bc87a04facf91ca58f33c02b8ad410 100644 (file)
@@ -150,7 +150,7 @@ class CoreExport UserManager : public fakederef<UserManager>
         */
        const CloneCounts& GetCloneCounts(User* user) const;
 
-       /** Return a map containg IP addresses and their clone counts
+       /** Return a map containing IP addresses and their clone counts
         * @return The clone count map
         */
        const CloneMap& GetCloneMap() const { return clonemap; }
index b3afed688296004c0026da1841c1a85caad4ce84..d7a71954ef0da943d1ddeb90e29b285e03c13ccc 100644 (file)
@@ -70,7 +70,7 @@ enum UserType {
        USERTYPE_SERVER = 3
 };
 
-/** Holds information relevent to &lt;connect allow&gt; and &lt;connect deny&gt; tags in the config file.
+/** Holds information relevant to &lt;connect allow&gt; and &lt;connect deny&gt; tags in the config file.
  */
 struct CoreExport ConnectClass : public refcountbase
 {
@@ -361,7 +361,7 @@ class CoreExport User : public Extensible
 
        /** If this is set to true, then all socket operations for the user
         * are dropped into the bit-bucket.
-        * This value is set by QuitUser, and is not needed seperately from that call.
+        * This value is set by QuitUser, and is not needed separately from that call.
         * Please note that setting this value alone will NOT cause the user to quit.
         */
        unsigned int quitting:1;
index fe564358f630c1fc2fbfb1e749e9d81fc7b38c8b..75d8125811c7af07f170e5792ea290885943730c 100644 (file)
@@ -29,7 +29,7 @@
 /** XLine is the base class for ban lines such as G-lines and K-lines.
  * Modules may derive from this, and their xlines will automatically be
  * handled as expected by any protocol modules (e.g. m_spanningtree will
- * propogate them using AddLine). The process of translating a type+pattern
+ * propagate them using AddLine). The process of translating a type+pattern
  * to a known line type is done by means of an XLineFactory object (see
  * below).
  */
@@ -128,7 +128,7 @@ class CoreExport XLine : public classbase
         */
        time_t set_time;
 
-       /** The duration of the ban, or 0 if permenant
+       /** The duration of the ban, or 0 if permanent
         */
        unsigned long duration;
 
@@ -435,7 +435,7 @@ class CoreExport XLineManager
         */
        ~XLineManager();
 
-       /** Split an ident and host into two seperate strings.
+       /** Split an ident and host into two separate strings.
         * This allows for faster matching.
         */
        IdentHostPair IdentSplit(const std::string &ident_and_host);
index 5e366d606b3b4723821632b909b96a811ed5f169..4edc7ef146ee8bf9804f7f2b4c89dbeccdeb27f4 100755 (executable)
@@ -16,10 +16,10 @@ Each file consists of 5-7 lines:
 3: List of additional characters that should be treated as upper-case
 
 4: 255 characters table - to-lower case conversion table. 
-Can be usefull for example for comparing nicknames that contains similar-looking characters with different codes.
+Can be useful for example for comparing nicknames that contains similar-looking characters with different codes.
 
 5: 255 characters table - to-upper case conversion table. 
-Can be usefull for example for comparing nicknames that contains similar-looking characters with different codes.
+Can be useful for example for comparing nicknames that contains similar-looking characters with different codes.
 
 6: List of additional UTF-8 allowed characters
 
index 31546dae24e3502b8751f2b738080be75f458d06..f45c63b98d6d0461f43efd9a8c4c99f3f4dbf843 100644 (file)
@@ -37,7 +37,7 @@ bool irc::sockets::MatchCIDR(const std::string &address, const std::string &cidr
 
        /* The caller is trying to match ident@<mask>/bits.
         * Chop off the ident@ portion, use match() on it
-        * seperately.
+        * separately.
         */
        if (match_with_username)
        {
index 7174310874d453c8992e1857712c9a7527322087..d3befc6c0b6f01edfc17ad717855d0729bb24415 100644 (file)
@@ -231,7 +231,7 @@ void CommandParser::ProcessCommand(LocalUser* user, std::string& command, Comman
                // Iterator to the first excess parameter
                const CommandBase::Params::iterator firstexcess = lastkeep + 1;
 
-               // Append all excess parameter(s) to the last parameter, seperated by spaces
+               // Append all excess parameter(s) to the last parameter, separated by spaces
                for (CommandBase::Params::const_iterator i = firstexcess; i != command_p.end(); ++i)
                {
                        lastkeep->push_back(' ');
@@ -243,7 +243,7 @@ void CommandParser::ProcessCommand(LocalUser* user, std::string& command, Comman
        }
 
        /*
-        * We call OnPreCommand here seperately if the command exists, so the magic above can
+        * We call OnPreCommand here separately if the command exists, so the magic above can
         * truncate to max_params if necessary. -- w00t
         */
        ModResult MOD_RESULT;
index 5563c007237bed198273d69d41ab1df957fbd00c..ea4b5241db311b39d172e3e258ccc37ee11f84a8 100644 (file)
@@ -45,7 +45,7 @@ ModeAction ModeChannelKey::OnModeChange(User* source, User*, Channel* channel, s
                        return MODEACTION_DENY;
                if (exists && (parameter != *key))
                {
-                       /* Key is currently set and the correct key wasnt given */
+                       /* Key is currently set and the correct key wasn't given */
                        return MODEACTION_DENY;
                }
        } else {
index 6b356d011cd93a7b28b43c6e41e33fac3c2d2dd4..13d6be55803da4bfb91ee7d52e5711c8e3585d00 100644 (file)
@@ -57,7 +57,7 @@ class KillMessage : public ClientProtocol::Message
  */
 CmdResult CommandKill::Handle(User* user, const Params& parameters)
 {
-       /* Allow comma seperated lists of users for /KILL (thanks w00t) */
+       /* Allow comma separated lists of users for /KILL (thanks w00t) */
        if (CommandParser::LoopCall(user, this, parameters, 0))
        {
                // If we got a colon delimited list of nicks then the handler ran for each nick,
index 8604eaf9fec45c327bf354519cf0aedf59f06fab..dcd67d49e041c1061d05dd25913022a87739c8ed 100644 (file)
@@ -89,7 +89,7 @@ bool RFCSerializer::Parse(LocalUser* user, const std::string& line, ClientProtoc
                while (ss.GetToken(token))
                {
                        // Two or more tags with the same key must not be sent, but if a client violates that we accept
-                       // the first occurence of duplicate tags and ignore all later occurences.
+                       // the first occurrence of duplicate tags and ignore all later occurrences.
                        //
                        // Another option is to reject the message entirely but there is no standard way of doing that.
                        const std::string::size_type p = token.find('=');
index 8ac86337e27bee694a4f21744841a2c16368e5bf..541fb0bd6889e7a9aa76d1cfc039faa128a878c1 100644 (file)
@@ -312,8 +312,8 @@ CmdResult CommandWhois::HandleLocal(LocalUser* user, const Params& parameters)
                return CMD_SUCCESS;
 
        /*
-        * If 2 paramters are specified (/whois nick nick), ignore the first one like spanningtree
-        * does, and use the second one, otherwise, use the only paramter. -- djGrrr
+        * If 2 parameters are specified (/whois nick nick), ignore the first one like spanningtree
+        * does, and use the second one, otherwise, use the only parameter. -- djGrrr
         */
        if (parameters.size() > 1)
                userindex = 1;
index e019a660bc7871e1d08189251d7169ed30085f89..b1692e6d1ea9d6dcad034e750313391c9c4ef817 100644 (file)
@@ -383,7 +383,7 @@ bool InspIRCd::Duration(const std::string& str, unsigned long& duration)
                }
                else
                {
-                       /* Found something thats not a number, find out how much
+                       /* Found something that's not a number, find out how much
                         * it multiplies the built up number by, multiply the total
                         * and reset the built up number.
                         */
index 956fb115567f6fba09d5e478a2b6c2e686b3c308..a32c079318b46c8412424a11d7bb997e9f71984a 100644 (file)
@@ -52,7 +52,7 @@
 
 InspIRCd* ServerInstance = NULL;
 
-/** Seperate from the other casemap tables so that code *can* still exclusively rely on RFC casemapping
+/** Separate from the other casemap tables so that code *can* still exclusively rely on RFC casemapping
  * if it must.
  *
  * This is provided as a pointer so that modules can change it to their custom mapping tables,
@@ -544,7 +544,7 @@ InspIRCd::InspIRCd(int argc, char** argv)
        std::cout << "InspIRCd Process ID: " << con_green << getpid() << con_reset << std::endl;
 
        /* During startup we read the configuration now, not in
-        * a seperate thread
+        * a separate thread
         */
        this->Config->Read();
        this->Config->Apply(NULL, "");
@@ -675,7 +675,7 @@ void InspIRCd::Run()
                UpdateTime();
 
                /* Run background module timers every few seconds
-                * (the docs say modules shouldnt rely on accurate
+                * (the docs say modules should not rely on accurate
                 * timing using this event, so we dont have to
                 * time this exactly).
                 */
index 36f5409c46786fcd02f2b3d9ef2f7f9f483433e7..1668f021532eddf07c1dec60d1a76ac4a9b5ab17 100644 (file)
@@ -234,7 +234,7 @@ bool ModuleManager::SetPriority(Module* mod, Implementation i, Priority s, Modul
        }
 
        /* Eh? this module doesnt exist, probably trying to set priority on an event
-        * theyre not attached to.
+        * they're not attached to.
         */
        return false;
 
@@ -315,7 +315,7 @@ swap_now:
 bool ModuleManager::PrioritizeHooks()
 {
        /* We give every module a chance to re-prioritize when we introduce a new one,
-        * not just the one thats loading, as the new module could affect the preference
+        * not just the one that's loading, as the new module could affect the preference
         * of others
         */
        for (int tries = 0; tries < 20; tries++)
index ff2a7a0320379011764ba3ea1723d08e6a2ab9b9..1db938b44385cc8acc5bb961b6aeefa275de0748 100644 (file)
@@ -73,7 +73,7 @@
  * worker thread wakes up, and checks if there is a request at the head of its queue.
  * If there is, it processes this request, blocking the worker thread but leaving the ircd
  * thread to go about its business as usual. During this period, the ircd thread is able
- * to insert futher pending requests into the queue.
+ * to insert further pending requests into the queue.
  *
  * Once the processing of a request is complete, it is removed from the incoming queue to
  * an outgoing queue, and initialized as a 'response'. The worker thread then signals the
@@ -90,7 +90,7 @@
  * one the module was originally instantiated upon, there is a chance of all hell breaking loose
  * if a module is ever put in a re-enterant state (stack corruption could occur, crashes, data
  * corruption, and worse, so DONT think about it until the day comes when InspIRCd is 100%
- * gauranteed threadsafe!)
+ * guaranteed threadsafe!)
  */
 
 class SQLConnection;
@@ -379,7 +379,7 @@ class SQLConnection : public SQL::Provider
                /* Parse the command string and dispatch it to mysql */
                if (CheckConnection() && !mysql_real_query(connection, query.data(), query.length()))
                {
-                       /* Successfull query */
+                       /* Successful query */
                        MYSQL_RES* res = mysql_use_result(connection);
                        unsigned long rows = mysql_affected_rows(connection);
                        return new MySQLresult(res, rows);
index 20c17783a588f69c14298fa514df50c1c258dfaa..109725a4349e55513429434deb377fb06c2c9b98 100644 (file)
@@ -273,7 +273,7 @@ class SQLConn : public SQL::Provider, public EventHandler
                if(PQsetnonblocking(sql, 1) == -1)
                        return false;
 
-               /* OK, we've initalised the connection, now to get it hooked into the socket engine
+               /* OK, we've initialised the connection, now to get it hooked into the socket engine
                * and then start polling it.
                */
                this->fd = PQsocket(sql);
index d3857a82e00079672ff9ea3a85a2df8f003c0b97..df7add05cc93112da3c05f014b6a8c9095e3359c 100644 (file)
@@ -166,7 +166,7 @@ class ModuleAlias : public Module
 
        ModResult OnPreCommand(std::string& command, CommandBase::Params& parameters, LocalUser* user, bool validated) CXX11_OVERRIDE
        {
-               /* If theyre not registered yet, we dont want
+               /* If they're not registered yet, we dont want
                 * to know.
                 */
                if (user->registered != REG_ALL)
index a8728ef722da64a3935348a04ce0ae31174d5fd3..b575491d6153376d56325481516f1e90b92b5046 100644 (file)
@@ -202,7 +202,7 @@ public:
                parameter = (action.second ? "" : "-") + action.first->uuid;
        }
 
-       /** Will take any number of nicks (up to MaxTargets), which can be seperated by commas.
+       /** Will take any number of nicks (up to MaxTargets), which can be separated by commas.
         * - in front of any nick removes, and an * lists. This effectively means you can do:
         * /accept nick1,nick2,nick3,*
         * to add 3 nicks and then show your list
@@ -243,12 +243,12 @@ public:
        RouteDescriptor GetRouting(User* user, const Params& parameters) CXX11_OVERRIDE
        {
                // There is a list in parameters[0] in two cases:
-               // Either when the source is remote, this happens because 2.0 servers send comma seperated uuid lists,
+               // Either when the source is remote, this happens because 2.0 servers send comma separated uuid lists,
                // we don't split those but broadcast them, as before.
                //
                // Or if the source is local then LoopCall() runs OnPostCommand() after each entry in the list,
                // meaning the linking module has sent an ACCEPT already for each entry in the list to the
-               // appropiate server and the ACCEPT with the list of nicks (this) doesn't need to be sent anywhere.
+               // appropriate server and the ACCEPT with the list of nicks (this) doesn't need to be sent anywhere.
                if ((!IS_LOCAL(user)) && (parameters[0].find(',') != std::string::npos))
                        return ROUTE_BROADCAST;
 
index e506efb971dd0bc863f9205c8ec025b70e035f49..98bcbf4cd46506083603d3fd5adb813a2907516b 100644 (file)
@@ -189,7 +189,7 @@ class CommandDccallow : public Command
                , ext(Ext)
        {
                syntax = "[(+|-)<nick> [<time>]]|[LIST|HELP]";
-               /* XXX we need to fix this so it can work with translation stuff (i.e. move +- into a seperate param */
+               /* XXX we need to fix this so it can work with translation stuff (i.e. move +- into a separate param */
        }
 
        CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE
index 894111a33350a53f41472e14ecbf5207bb0ffd2c..786ea673bb27cce92881c678b42e01ba7cedda5b 100644 (file)
@@ -542,7 +542,7 @@ ModResult ModuleFilter::OnPreCommand(std::string& command, CommandBase::Params&
                /* We cant block a part or quit, so instead we change the reason to 'Reason filtered' */
                parameters[parting ? 1 : 0] = "Reason filtered";
 
-               /* We're warning or blocking, OR theyre quitting and its a KILL action
+               /* We're warning or blocking, OR they're quitting and its a KILL action
                 * (we cant kill someone whos already quitting, so filter them anyway)
                 */
                if ((f->action == FA_WARN) || (f->action == FA_BLOCK) || (((!parting) && (f->action == FA_KILL))) || (f->action == FA_SILENT))
index 8eb44a03ba79f2f12c7455f67e3cb7f507100b26..b6a9e91c4a740629cca1a24d0caa0a0284247e05 100644 (file)
@@ -289,7 +289,7 @@ class HttpServerSocket : public BufferedSocket, public Timer, public insp::intru
                else
                        rheaders.RemoveHeader("Content-Type");
 
-               /* Supporting Connection: keep-alive causes a whole world of hurt syncronizing timeouts,
+               /* Supporting Connection: keep-alive causes a whole world of hurt synchronizing timeouts,
                 * so remove it, its not essential for what we need.
                 */
                rheaders.SetHeader("Connection", "Close");
index df80cd82f910f0c90bff270a9e02d8b5054d4353..18c79b5d8a2f455ec6a3c35e9dbb3a801a5b34a7 100644 (file)
@@ -61,7 +61,7 @@ enum
  * our ident lookup class that is outside of this module, or out-
  * side of the control of the class. There are no timers, internal
  * events, or such, which will cause the socket to be deleted,
- * queued for deletion, etc. In fact, theres not even any queueing!
+ * queued for deletion, etc. In fact, there's not even any queueing!
  *
  * Using this framework we have a much more stable module.
  *
@@ -183,7 +183,7 @@ class IdentRequestSocket : public EventHandler
 
        void Close()
        {
-               /* Remove ident socket from engine, and close it, but dont detatch it
+               /* Remove ident socket from engine, and close it, but dont detach it
                 * from its parent user class, or attempt to delete its memory.
                 */
                if (HasFd())
index ba90cfbdef915300f3a8bc0fb6254995573a6569..4a7daaf0632cda9fd40af0086449ba366e57e3c7 100644 (file)
@@ -164,7 +164,7 @@ class ModuleIRCv3CapNotify : public Module, public Cap::EventListener, public Re
 
        void OnReloadModuleRestore(Module* mod, void* data) CXX11_OVERRIDE
        {
-               // Reloading can change the set of caps provided by a module so assuming that if the reload succeded all
+               // Reloading can change the set of caps provided by a module so assuming that if the reload succeeded all
                // caps that the module previously provided are available or all were lost if the reload failed is wrong.
                // Instead, we verify the availability of each cap individually.
                dynamic_reference_nocheck<Cap::Manager> capmanager(this, "capmanager");
index 86c2f83d5ce3b58f3562787ae71f841f0b0482b1..4bc9c2fadde6e422e58d90060d8a4e890bc53788 100644 (file)
@@ -54,7 +54,7 @@ class PermChannel : public ModeHandler
        }
 };
 
-// Not in a class due to circular dependancy hell.
+// Not in a class due to circular dependency hell.
 static std::string permchannelsconf;
 static bool WriteDatabase(PermChannel& permchanmode, Module* mod, bool save_listmodes)
 {
@@ -152,7 +152,7 @@ static bool WriteDatabase(PermChannel& permchanmode, Module* mod, bool save_list
 #ifdef _WIN32
        remove(permchannelsconf.c_str());
 #endif
-       // Use rename to move temporary to new db - this is guarenteed not to fuck up, even in case of a crash.
+       // Use rename to move temporary to new db - this is guaranteed not to fuck up, even in case of a crash.
        if (rename(permchannelsnewconf.c_str(), permchannelsconf.c_str()) < 0)
        {
                ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "Cannot replace old database \"%s\" with new database \"%s\"! %s (%d)", permchannelsconf.c_str(), permchannelsnewconf.c_str(), strerror(errno), errno);
index 27cb42fca1b43982b5d9e94e611b7e0a6969c2cf..15ba77a3464e8cebafc15d0f5f0170ba607d7f21 100644 (file)
@@ -223,7 +223,7 @@ void TreeSocket::SendCapabilities(int phase)
        this->WriteLine("CAPAB END");
 }
 
-/* Isolate and return the elements that are different between two comma seperated lists */
+/* Isolate and return the elements that are different between two comma separated lists */
 void TreeSocket::ListDifference(const std::string &one, const std::string &two, char sep,
                std::string& mleft, std::string& mright)
 {
index 2e280f14fea1b769a0fcbae017ce4cb1b6615e78..a1a44daf53580c47bf09a2e4cf65508f892a60cc 100644 (file)
@@ -139,7 +139,7 @@ class FwdFJoinBuilder;
 class CommandFJoin : public ServerCommand
 {
        /** Remove all modes from a channel, including statusmodes (+qaovh etc), simplemodes, parameter modes.
-        * This does not update the timestamp of the target channel, this must be done seperately.
+        * This does not update the timestamp of the target channel, this must be done separately.
         */
        static void RemoveStatus(Channel* c);
 
index aa669ce499590a82451678901d76f3b6b4244768..2f9813860fe8803cae12fb202c1ebebe9d047927 100644 (file)
@@ -50,7 +50,7 @@ CmdResult CommandFTopic::Handle(User* user, Params& params)
        /*
         * If the topics were updated at the exact same second, accept
         * the remote only when it's "bigger" than ours as defined by
-        * string comparision, so non-empty topics always overridde
+        * string comparison, so non-empty topics always overridde
         * empty topics if their timestamps are equal
         *
         * Similarly, if the topic texts are equal too, keep one topic
index 8d713b2a5a1f4bce6df242289564b964c27f98ac..16a1132fe02138500f6f48a3a4cf4b2c3ed6d1c1 100644 (file)
@@ -135,7 +135,7 @@ void ModuleSpanningTree::ShowLinks(TreeServer* Current, User* user, int hops)
                        ShowLinks(server, user, hops+1);
                }
        }
-       /* Don't display the line if its a uline, hide ulines is on, and the user isnt an oper */
+       /* Don't display the line if its a uline, hide ulines is on, and the user isn't an oper */
        if ((Utils->HideULines) && (Current->IsULine()) && (!user->IsOper()))
                return;
        /* Or if the server is hidden and they're not an oper */
index 1469885a6ffb82c35b6fe57ecbc3dbc738385f0b..0763694938810f289c1298592deb8d738c41bbfb 100644 (file)
@@ -168,7 +168,7 @@ class ModuleSpanningTree
         */
        void DoConnectTimeout(time_t curtime);
 
-       /** Handle remote VERSON
+       /** Handle remote VERSION
         */
        ModResult HandleVersion(const CommandBase::Params& parameters, User* user);
 
index de28308612e4751e5e16d8fbf1b426b1bc90482c..80ff832cbc5703681256d03f0d1acc108fee7871 100644 (file)
@@ -144,10 +144,10 @@ static std::vector<std::string> GetMap(User* user, TreeServer* current, unsigned
                                if (j != child_map.begin())
                                {
                                        // If this child is not my last child, then add |
-                                       // to be able to "link" the next server in my list to me, and to indent this childs servers
+                                       // to be able to "link" the next server in my list to me, and to indent this children servers
                                        if (!last)
                                                prefix = "| ";
-                                       // Otherwise this is my last child, so just use a space as theres nothing else linked to me below this
+                                       // Otherwise this is my last child, so just use a space as there's nothing else linked to me below this
                                        else
                                                prefix = "  ";
                                }
index 14a96933d97e524cf84468361a6dc5d07b563cfe..835744db4510e03ae86f4ec9c367e513f8d1b6e0 100644 (file)
@@ -35,7 +35,7 @@
 #include "treesocket.h"
 
 /** This class is used to resolve server hostnames during /connect and autoconnect.
- * As of 1.1, the resolver system is seperated out from BufferedSocket, so we must do this
+ * As of 1.1, the resolver system is separated out from BufferedSocket, so we must do this
  * resolver step first ourselves if we need it. This is totally nonblocking, and will
  * callback to OnLookupComplete or OnError when completed. Once it has completed we
  * will have an IP address which we can then use to continue our connection.
index 3ef80266a64c508602c65d24472dfa47d5fc833c..77b5a48b9160fca7d69d4cbdb28e04e20f9b8321 100644 (file)
@@ -48,7 +48,7 @@ class SecurityIPResolver : public DNS::Request
 };
 
 /** This class is used to resolve server hostnames during /connect and autoconnect.
- * As of 1.1, the resolver system is seperated out from BufferedSocket, so we must do this
+ * As of 1.1, the resolver system is separated out from BufferedSocket, so we must do this
  * resolver step first ourselves if we need it. This is totally nonblocking, and will
  * callback to OnLookupComplete or OnError when completed. Once it has completed we
  * will have an IP address which we can then use to continue our connection.
index 58f6c745fb707a95f433130ec3ceaf160d74649d..6920fc97b6b5f80eff1b79d96ac8d7bb5ce1ed1e 100644 (file)
@@ -127,7 +127,7 @@ TreeServer::TreeServer(const std::string& Name, const std::string& Desc, const s
         * be referenced by its server name. The AddHashEntry()
         * call below automatically inserts each TreeServer class
         * into the hash_map as it is created. There is a similar
-        * maintainance call in the destructor to tidy up deleted
+        * maintenance call in the destructor to tidy up deleted
         * servers.
         */
 
index 6b1ca21d02d812266de47a02c8c6c9893a1e151f..29c90c8438a838211928b98fc6b791f7cf33da03 100644 (file)
@@ -416,7 +416,7 @@ void TreeSocket::Close()
 
        // Connection closed.
        // If the connection is fully up (state CONNECTED)
-       // then propogate a netsplit to all peers.
+       // then propagate a netsplit to all peers.
        if (MyRoot)
                MyRoot->SQuit(getError(), true);
 
index e5061489f014a046a8eb6b4d46d02e0912aa3f44..cc5acccf93eb04e0a3f585b3f9a0bdbf328a5164 100644 (file)
@@ -93,7 +93,7 @@ CmdResult CommandUID::HandleServer(TreeServer* remoteserver, CommandBase::Params
                if (*v == '+')
                        continue;
 
-               /* For each mode thats set, find the mode handler and set it on the new user */
+               /* For each mode that's set, find the mode handler and set it on the new user */
                ModeHandler* mh = ServerInstance->Modes->FindMode(*v, MODETYPE_USER);
                if (!mh)
                        throw ProtocolException("Unrecognised mode '" + std::string(1, *v) + "'");
index 5c7f1fca1f2dbe93f82b041e8ed53b7ccbdbec5b..c7fca3854a95a82fda596ae11bcb6029bfb50240 100644 (file)
@@ -188,7 +188,7 @@ class ModuleSSLModes
 
                User* target = msgtarget.Get<User>();
 
-               /* If one or more of the parties involved is a ulined service, we wont stop it. */
+               /* If one or more of the parties involved is a ulined service, we won't stop it. */
                if (user->server->IsULine() || target->server->IsULine())
                        return MOD_RES_PASSTHRU;
 
index e01f56043a9130a74614d69868cdf9722bf57775..838e129c13e529751e0952364591c29c332da1ff 100644 (file)
@@ -53,7 +53,7 @@ class CommandUserip : public Command
                                {
                                        if (!checked_privs)
                                        {
-                                               // Do not trigger the insufficient priviliges message more than once
+                                               // Do not trigger the insufficient privileges message more than once
                                                checked_privs = true;
                                                has_privs = user->HasPrivPermission("users/auspex");
                                                if (!has_privs)
index 56537db257e9503c1607ffb13b66064745b7ebb3..0c2ceceb5354d761ba655093ae77f97c4b063383 100644 (file)
@@ -156,7 +156,7 @@ class ModuleXLineDB
 #ifdef _WIN32
                remove(xlinedbpath.c_str());
 #endif
-               // Use rename to move temporary to new db - this is guarenteed not to fuck up, even in case of a crash.
+               // Use rename to move temporary to new db - this is guaranteed not to fuck up, even in case of a crash.
                if (rename(xlinenewdbpath.c_str(), xlinedbpath.c_str()) < 0)
                {
                        ServerInstance->Logs->Log(MODNAME, LOG_DEBUG, "Cannot replace old database \"%s\" with new database \"%s\"! %s (%d)", xlinedbpath.c_str(), xlinenewdbpath.c_str(), strerror(errno), errno);
index 6f7f666f6763b0ceaadbc6445e82a38234dc5674..28533e4bd1ce7883f6a91783efb9df398e759127 100644 (file)
@@ -138,7 +138,7 @@ void Snomask::Send(char letter, const std::string& desc, const std::string& msg)
        for (UserManager::OperList::const_iterator i = opers.begin(); i != opers.end(); ++i)
        {
                User* user = *i;
-               // IsNoticeMaskSet() returns false for opers who aren't +s, no need to check for it seperately
+               // IsNoticeMaskSet() returns false for opers who aren't +s, no need to check for it separately
                if (IS_LOCAL(user) && user->IsNoticeMaskSet(letter))
                        user->WriteNotice(finalmsg);
        }
index bd7d046b8b9e7d6db909e536603229064039d5e7..a8142acfbc09ad53a66a6a56c03612c447c89190 100644 (file)
@@ -586,7 +586,7 @@ void LocalUser::FullConnect()
        /*
         * You may be thinking "wtf, we checked this in User::AddClient!" - and yes, we did, BUT.
         * At the time AddClient is called, we don't have a resolved host, by here we probably do - which
-        * may put the user into a totally seperate class with different restrictions! so we *must* check again.
+        * may put the user into a totally separate class with different restrictions! so we *must* check again.
         * Don't remove this! -- w00t
         */
        MyClass = NULL;
index 04ac67f684d1ff2cd2ace35d371b39257589cd49..c2022a1d7bbec8c3c5525f1cad71b856c7c424e8 100644 (file)
@@ -119,7 +119,7 @@ class ZLineFactory : public XLineFactory
  *  was added, it iterated every existing line for every existing user. Ow. Expiry was also
  *  expensive, as the lists were NOT sorted.
  *
- *  Version 2 moved permanent lines into a seperate list from non-permanent to help optimize
+ *  Version 2 moved permanent lines into a separate list from non-permanent to help optimize
  *  matching speed, but matched in the same way.
  *  Expiry was also sped up by sorting the list by expiry (meaning just remove the items at the
  *  head of the list that are outdated.)
@@ -128,7 +128,7 @@ class ZLineFactory : public XLineFactory
  * than it could have been, something which we address here.
  *
  * VERSION 3:
- *  All lines are (as in v1) stored together -- no seperation of perm and non-perm. They are stored in
+ *  All lines are (as in v1) stored together -- no separation of perm and non-perm. They are stored in
  *  a map of maps (first map is line type, second map is for quick lookup on add/delete/etc).
  *
  *  Expiry is *no longer* performed on a timer, and no longer uses a sorted list of any variety. This
index f118a86c47d0d3615c6928ba96e41268762b77c6..134c2136f9442900aab30f82f8033c25988c4e77 100644 (file)
@@ -32,7 +32,7 @@
  * whereas on POSIX systems, shared objects loaded into an executable share
  * the executable's heap. This means that if we pass an arbitrary pointer to
  * a windows DLL which is not allocated in that dll, without some form of
- * marshalling, we get a page fault. To fix this, these overrided operators
+ * marshalling, we get a page fault. To fix this, these overridden operators
  * new and delete use the windows HeapAlloc and HeapFree functions to claim
  * memory from the windows global heap. This makes windows 'act like' POSIX
  * when it comes to memory usage between dlls and exes.
index 7ce23f7a7c1f7d7f4acd75e942e46614f55c9226..99edafc42da5fada80c929debb7aae58c9b2d7f7 100644 (file)
@@ -50,7 +50,7 @@
 #define VC_EXTRALEAN
 #define WIN32_LEAN_AND_MEAN
 
-/* Macros for exporting symbols - dependant on what is being compiled */
+/* Macros for exporting symbols - dependent on what is being compiled */
 
 #ifdef DLL_BUILD
 #define CoreExport __declspec(dllimport)
index 4c2545b1e47c722f5b38b0b756a589d2331f38e1..46e9d351614cd10948234cf5f31fa181b8e52f3e 100644 (file)
@@ -42,7 +42,7 @@ struct Service_Data {
 static Service_Data g_ServiceData;
 
 /** The main part of inspircd runs within this thread function. This allows the service part to run
- * seperately on its own and to be able to kill the worker thread when its time to quit.
+ * separately on its own and to be able to kill the worker thread when its time to quit.
  */
 DWORD WINAPI WorkerThread(LPVOID param)
 {