diff options
author | Adam <Adam@anope.org> | 2017-05-29 17:38:39 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-05-29 17:38:39 -0400 |
commit | ff81c9bab8e1eddf044d7cb5d06d44b4a43c95d8 (patch) | |
tree | bfed822d690999f2c4458a30a65c232210b1e9cc /src/users.cpp | |
parent | 3f143633541a5361bf5b02b0d69b65447aea7b79 (diff) |
Fixup some compilation warnings
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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 *> 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"); |