summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-30 18:02:25 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-30 18:02:25 +0000
commit845135ba55d2bad81588a80546c8abe2b76ed47c (patch)
tree5e601147c593b52409403b4ffafa4c222e174291 /src/users.cpp
parent846e00a215026e4b3c0fefd6442e38f86a928e87 (diff)
Remove a few needless string crops, compile fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12329 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index fcb470ed9..48a8ee87a 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -594,8 +594,8 @@ CullResult FakeUser::cull()
{
// Fake users don't quit, they just get culled.
quitting = true;
- ServerInstance->Users->clientlist->erase(user->nick);
- ServerInstance->Users->uuidlist->erase(user->uuid);
+ ServerInstance->Users->clientlist->erase(nick);
+ ServerInstance->Users->uuidlist->erase(uuid);
return User::cull();
}