diff options
author | InspIRCd Robot <noreply@inspircd.org> | 2020-04-21 06:34:17 +0000 |
---|---|---|
committer | Matt Schatz <genius3000@g3k.solutions> | 2020-04-21 00:52:12 -0600 |
commit | 4f9abe96a4301a740d4a5fd7932550d88d60a3fc (patch) | |
tree | eafd249fbf0c3ad4c631146446d5d953508e88b4 /src/coremods | |
parent | 43d0efaa2195c445ae7cc130d235781506758a9d (diff) |
Fixes by misspell-fixer
Diffstat (limited to 'src/coremods')
-rw-r--r-- | src/coremods/core_channel/cmode_k.cpp | 2 | ||||
-rw-r--r-- | src/coremods/core_oper/cmd_kill.cpp | 2 | ||||
-rw-r--r-- | src/coremods/core_serialize_rfc.cpp | 2 | ||||
-rw-r--r-- | src/coremods/core_whois.cpp | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/coremods/core_channel/cmode_k.cpp b/src/coremods/core_channel/cmode_k.cpp index 5563c0072..ea4b5241d 100644 --- a/src/coremods/core_channel/cmode_k.cpp +++ b/src/coremods/core_channel/cmode_k.cpp @@ -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 { diff --git a/src/coremods/core_oper/cmd_kill.cpp b/src/coremods/core_oper/cmd_kill.cpp index 6b356d011..13d6be558 100644 --- a/src/coremods/core_oper/cmd_kill.cpp +++ b/src/coremods/core_oper/cmd_kill.cpp @@ -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, diff --git a/src/coremods/core_serialize_rfc.cpp b/src/coremods/core_serialize_rfc.cpp index 8604eaf9f..dcd67d49e 100644 --- a/src/coremods/core_serialize_rfc.cpp +++ b/src/coremods/core_serialize_rfc.cpp @@ -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('='); diff --git a/src/coremods/core_whois.cpp b/src/coremods/core_whois.cpp index 8ac86337e..541fb0bd6 100644 --- a/src/coremods/core_whois.cpp +++ b/src/coremods/core_whois.cpp @@ -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; |