From ff81c9bab8e1eddf044d7cb5d06d44b4a43c95d8 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 29 May 2017 17:38:39 -0400 Subject: Fixup some compilation warnings --- src/users.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 3561e9ea9..fa130204c 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -40,7 +40,11 @@ int OperCount = 0; std::list User::quitting_users; -User::User(const Anope::string &snick, const Anope::string &sident, const Anope::string &shost, const Anope::string &svhost, const Anope::string &uip, Server *sserver, const Anope::string &srealname, time_t ts, const Anope::string &smodes, const Anope::string &suid, NickServ::Account *account) : ip(uip), logger(this) +User::User(const Anope::string &snick, const Anope::string &sident, const Anope::string &shost, const Anope::string &svhost, + const Anope::string &uip, Server *sserver, const Anope::string &srealname, time_t ts, const Anope::string &smodes, + const Anope::string &suid, NickServ::Account *account) + : logger(this) + , ip(uip) { if (snick.empty() || sident.empty() || shost.empty()) throw CoreException("Bad args passed to User::User"); -- cgit