X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fusermanager.cpp;h=c7aaa5c1134e54c9240c1ff0557bfa2112cd8d0c;hb=635cb9d65f6d7f6758ae8ed874da00c8d94b6e39;hp=9c8bde1e2c279fd3aafb6df715841444058c07fb;hpb=aa692dc1039b63deef7886e914ec499abe7facaf;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 9c8bde1e2..c7aaa5c11 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -4,7 +4,7 @@ * Copyright (C) 2019 iwalkalone * Copyright (C) 2019 Matt Schatz * Copyright (C) 2013-2016, 2018 Attila Molnar - * Copyright (C) 2013, 2018-2019 Sadie Powell + * Copyright (C) 2013, 2018-2020 Sadie Powell * Copyright (C) 2013, 2015 Adam * Copyright (C) 2013 Daniel Vassdal * Copyright (C) 2012, 2019 Robby @@ -119,7 +119,6 @@ namespace UserManager::UserManager() : already_sent_id(0) , unregistered_count(0) - , uline_count(0) { } @@ -162,7 +161,7 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs { ServerInstance->Logs->Log("USERS", LOG_DEBUG, "Non-existent I/O hook '%s' in tag at %s", iohookprovref.GetProvider().c_str(), - i == via->iohookprovs.begin() ? "hook" : "ssl", + i == via->iohookprovs.begin() ? "hook" : "sslprofile", via->bind_tag->getTagLocation().c_str()); this->QuitUser(New, "Internal error handling connection"); return; @@ -370,7 +369,7 @@ void UserManager::ServerNoticeAll(const char* text, ...) { std::string message; VAFORMAT(message, text, text); - ClientProtocol::Messages::Privmsg msg(ClientProtocol::Messages::Privmsg::nocopy, ServerInstance->FakeClient, ServerInstance->Config->ServerName, message, MSG_NOTICE); + ClientProtocol::Messages::Privmsg msg(ClientProtocol::Messages::Privmsg::nocopy, ServerInstance->FakeClient, ServerInstance->Config->GetServerName(), message, MSG_NOTICE); ClientProtocol::Event msgevent(ServerInstance->GetRFCEvents().privmsg, msg); for (LocalList::const_iterator i = local_users.begin(); i != local_users.end(); ++i)