diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-06-15 17:04:27 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-06-15 17:04:27 +0000 |
| commit | 834f4d1bf0c228f35f392808d3882ec3c1a43444 (patch) | |
| tree | 4aaf51dd1d80ef7b37ee1a0f60ee8eaebd39510e /src/users.c | |
| parent | ab4533e58a80057426ccc68850abe052962f5260 (diff) | |
Cleaned up some of the cloaked host tracking on Unreal
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3004 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/users.c')
| -rw-r--r-- | src/users.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/users.c b/src/users.c index 059d598b4..4ff223ee6 100644 --- a/src/users.c +++ b/src/users.c @@ -1320,13 +1320,7 @@ void UserSetInternalModes(User *user, int ac, const char **av) break; case UMODE_CLOAK: case UMODE_VHOST: - if (add && user->vhost) - { - user->SetCloakedHost(user->vhost); - delete [] user->vhost; - user->vhost = NULL; - } - else if (user->vhost) + if (!add && user->vhost) { delete [] user->vhost; user->vhost = NULL; |
