summaryrefslogtreecommitdiff
path: root/src/protocol/unreal32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r--src/protocol/unreal32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index 78d888518..2223cd162 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -600,7 +600,7 @@ class UnrealIRCdProto : public IRCDProto
delete [] user->vhost;
user->vhost = NULL;
}
- update_host(user);
+ user->UpdateHost();
break;
default:
break;
@@ -1426,7 +1426,6 @@ int anope_event_userhost(const char *source, int ac, const char **av)
if (u)
{
u->SetCloakedHost(host);
- update_host(u);
}
return MOD_CONT;