summaryrefslogtreecommitdiff
path: root/src/protocol/unreal32.cpp
diff options
context:
space:
mode:
authorAdam <Adam@drink-coca-cola.info>2010-06-03 23:09:22 -0400
committerAdam <Adam@anope.org>2010-06-18 21:04:09 -0400
commite6447fa2c40270d2e2435229127dd970194b47d9 (patch)
tree65778fc16c1789517595b2b4cbfcb2c9330b022e /src/protocol/unreal32.cpp
parent6cd88494662c5c4af2da891926dcc82367596cb9 (diff)
Added in a subcommand system and switched ns_set and ns_saset to use it
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;
}