From 95f6575ee9bbe971d3ec98bd12e10fee0be238be Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 27 Aug 2007 13:40:12 +0000 Subject: [PATCH] Whoops, i had a ! and i didnt need one git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7882 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/users.cpp b/src/users.cpp index 573d1b14d..de745d325 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -346,7 +346,7 @@ userrec::userrec(InspIRCd* Instance, const std::string &uid) : ServerInstance(In /* Invalidate cache */ operquit = cached_fullhost = cached_hostip = cached_makehost = cached_fullrealhost = NULL; - if (!uid.empty()) + if (uid.empty()) strlcpy(uuid, Instance->GetUID().c_str(), UUID_LENGTH); else strlcpy(uuid, uid.c_str(), UUID_LENGTH); -- 2.39.5