mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
Fixed few misspellings
This commit is contained in:
+1
-1
@@ -938,7 +938,7 @@ bool CIRCSock::OnNumericMessage(CNumericMessage& Message) {
|
||||
}
|
||||
case 451:
|
||||
// :irc.server.com 451 CAP :You have not registered
|
||||
// Servers that dont support CAP will give us this error, dont send
|
||||
// Servers that don't support CAP will give us this error, don't send
|
||||
// it to the client
|
||||
if (sNick.Equals("CAP")) return true;
|
||||
case 470: {
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ bool ZNC_NO_NEED_TO_DO_ANYTHING_ON_MODULE_CALL_EXITER;
|
||||
|
||||
#ifndef RTLD_LOCAL
|
||||
#define RTLD_LOCAL 0
|
||||
#warning "your crap box doesnt define RTLD_LOCAL !?"
|
||||
#warning "your crap box doesn't define RTLD_LOCAL !?"
|
||||
#endif
|
||||
|
||||
#define MODUNLOADCHK(func) \
|
||||
|
||||
+2
-2
@@ -195,7 +195,7 @@ void CWebAuth::RefusedLogin(const CString& sReason) {
|
||||
m_pWebSock->AddHeader("WWW-Authenticate", "Basic realm=\"ZNC\"");
|
||||
m_pWebSock->CHTTPSock::PrintErrorPage(
|
||||
401, "Unauthorized",
|
||||
"HTTP Basic authentication attemped with invalid credentials");
|
||||
"HTTP Basic authentication attempted with invalid credentials");
|
||||
// Why CWebSock makes this function protected?..
|
||||
} else {
|
||||
m_pWebSock->Redirect("/?cookie_check=true");
|
||||
@@ -509,7 +509,7 @@ CWebSock::EPageReqResult CWebSock::PrintStaticFile(const CString& sPath,
|
||||
SetPaths(pModule);
|
||||
CString sFile = m_Template.ExpandFile(sPath.TrimLeft_n("/"));
|
||||
DEBUG("About to print [" + sFile + "]");
|
||||
// Either PrintFile() fails and sends an error page or it suceeds and
|
||||
// Either PrintFile() fails and sends an error page or it succeeds and
|
||||
// sends a result. In both cases we don't have anything more to do.
|
||||
PrintFile(sFile);
|
||||
return PAGE_DONE;
|
||||
|
||||
+2
-2
@@ -1042,7 +1042,7 @@ bool CZNC::ReadConfig(CConfig& config, CString& sError) {
|
||||
CUtils::PrintStatus(true);
|
||||
|
||||
// check if config is from old ZNC version and
|
||||
// create a backup file if neccessary
|
||||
// create a backup file if necessary
|
||||
CString sSavedVersion;
|
||||
config.FindStringEntry("version", sSavedVersion);
|
||||
if (sSavedVersion.empty()) {
|
||||
@@ -1782,7 +1782,7 @@ bool CZNC::AddListener(CConfig* pConfig, CString& sError) {
|
||||
|
||||
bool CZNC::AddListener(CListener* pListener) {
|
||||
if (!pListener->GetRealListener()) {
|
||||
// Listener doesnt actually listen
|
||||
// Listener doesn't actually listen
|
||||
delete pListener;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user