X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fusermanager.cpp;h=c7aaa5c1134e54c9240c1ff0557bfa2112cd8d0c;hb=e0dc7691c4cff3a38bc12adf10b3709d8c4901ba;hp=92f94f960142621ec6945d4a1cc8fe58c5a5e118;hpb=4cc992f6c20354eef88b7652f268591daccb1b20;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 92f94f960..c7aaa5c11 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -1,10 +1,17 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2019 iwalkalone + * Copyright (C) 2019 Matt Schatz + * Copyright (C) 2013-2016, 2018 Attila Molnar + * Copyright (C) 2013, 2018-2020 Sadie Powell + * Copyright (C) 2013, 2015 Adam + * Copyright (C) 2013 Daniel Vassdal + * Copyright (C) 2012, 2019 Robby * Copyright (C) 2009-2010 Daniel De Graaf - * Copyright (C) 2008 Dennis Friis + * Copyright (C) 2009 Uli Schlachter + * Copyright (C) 2008-2010 Craig Edwards * Copyright (C) 2008 Robin Burchell - * Copyright (C) 2008 Craig Edwards * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public @@ -112,7 +119,6 @@ namespace UserManager::UserManager() : already_sent_id(0) , unregistered_count(0) - , uline_count(0) { } @@ -155,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; @@ -363,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)