summaryrefslogtreecommitdiff
path: root/src/protocol/unreal32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/unreal32.cpp')
-rw-r--r--src/protocol/unreal32.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol/unreal32.cpp b/src/protocol/unreal32.cpp
index 4d90e6bcf..65ee9d3e2 100644
--- a/src/protocol/unreal32.cpp
+++ b/src/protocol/unreal32.cpp
@@ -594,9 +594,9 @@ int anope_event_ping(const char *source, int ac, const char **av)
*/
int anope_event_pong(const char *source, int ac, const char **av)
{
- Server *s = findserver(servlist, source);
- if (s && !is_sync(s))
- finish_sync(s, 0);
+ Server *s = Server::Find(source);
+ if (s && !s->IsSynced())
+ s->Sync(false);
return MOD_CONT;
}