]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/users.cpp
Don't query module version prior to init; fixes valgrind segfault
[user/henk/code/inspircd.git] / src / users.cpp
index b9d454c8b16d57375f223ef44c1d4fd1ca833e00..73c4414372bee4adfabe901967feb17f829d720b 100644 (file)
@@ -236,7 +236,7 @@ LocalUser::LocalUser(int myfd, irc::sockets::sockaddrs* client, irc::sockets::so
 User::~User()
 {
        if (ServerInstance->Users->uuidlist->find(uuid) != ServerInstance->Users->uuidlist->end())
-               ServerInstance->Logs->Log("USERS", ERROR, "User destructor for %s called without cull", uuid.c_str());
+               ServerInstance->Logs->Log("USERS", DEFAULT, "User destructor for %s called without cull", uuid.c_str());
 }
 
 const std::string& User::MakeHost()