summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/irc/irc_client.cpp2
-rw-r--r--src/irc/irc_client.hpp2
-rw-r--r--src/network/credentials_manager.cpp2
-rw-r--r--src/network/tcp_socket_handler.cpp2
-rw-r--r--src/network/tcp_socket_handler.hpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp
index 5f0d9b9..1f2a21b 100644
--- a/src/irc/irc_client.cpp
+++ b/src/irc/irc_client.cpp
@@ -307,7 +307,7 @@ void IrcClient::on_connected()
[this]
{
this->send_message({"AUTHENTICATE", {"PLAIN"}});
- log_warning("negociating SASL now...");
+ log_warning("negotiating SASL now...");
},
[]
{
diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp
index ac2f6a9..3423228 100644
--- a/src/irc/irc_client.hpp
+++ b/src/irc/irc_client.hpp
@@ -238,7 +238,7 @@ public:
*/
void on_invited(const IrcMessage& message);
/**
- * The IRC server sends a CAP message, as part of capabilities negociation. It could be a ACK,
+ * The IRC server sends a CAP message, as part of capabilities negotiation. It could be a ACK,
* NACK, or something else
*/
void on_cap(const IrcMessage& message);
diff --git a/src/network/credentials_manager.cpp b/src/network/credentials_manager.cpp
index 89c694c..47f8514 100644
--- a/src/network/credentials_manager.cpp
+++ b/src/network/credentials_manager.cpp
@@ -102,7 +102,7 @@ void BasicCredentialsManager::load_certs()
if (BasicCredentialsManager::try_to_open_one_ca_bundle(paths))
BasicCredentialsManager::certs_loaded = true;
else
- log_warning("The CA could not be loaded, TLS negociation will probably fail.");
+ log_warning("The CA could not be loaded, TLS negotiation will probably fail.");
}
std::vector<Botan::Certificate_Store*> BasicCredentialsManager::trusted_certificate_authorities(const std::string&, const std::string&)
diff --git a/src/network/tcp_socket_handler.cpp b/src/network/tcp_socket_handler.cpp
index e05caad..ae23b3c 100644
--- a/src/network/tcp_socket_handler.cpp
+++ b/src/network/tcp_socket_handler.cpp
@@ -277,7 +277,7 @@ void TCPSocketHandler::tls_recv()
void TCPSocketHandler::tls_send(std::string&& data)
{
// We may not be connected yet, or the tls session has
- // not yet been negociated
+ // not yet been negotiated
if (this->tls && this->tls->is_active())
{
const bool was_active = this->tls->is_active();
diff --git a/src/network/tcp_socket_handler.hpp b/src/network/tcp_socket_handler.hpp
index c598641..b12ae57 100644
--- a/src/network/tcp_socket_handler.hpp
+++ b/src/network/tcp_socket_handler.hpp
@@ -212,7 +212,7 @@ private:
* calls the output_fn callback with it as soon as it is created.
* Therefore, we do not want to create it if we do not intend to send any
* TLS-encrypted message. We create the object only when needed (for
- * example after we have negociated a TLS session using a STARTTLS
+ * example after we have negotiated a TLS session using a STARTTLS
* message, or stuf like that).
*
* See start_tls for the method where this object is created.