summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 13:40:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 13:40:12 +0000
commit95f6575ee9bbe971d3ec98bd12e10fee0be238be (patch)
tree0227ac50f3b6ca77a2b33c37b6f75536a5c82ca6 /src/users.cpp
parentaee072aed76b352a46ab5c2bb26b2c03b89e7281 (diff)
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
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
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);