diff options
| author | Adam <Adam@anope.org> | 2010-08-01 20:05:52 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-08-01 20:05:52 -0400 |
| commit | 90976b66728fcc671f3ecc4a2d39e438d6d8bcb6 (patch) | |
| tree | 3bfa64be578a52480b1c18535e46a14a72592df0 /modules/protocol | |
| parent | e8d6524411e188f4de32a231857b078b57aef151 (diff) | |
Fixed some issues with reconnecting if we disconnect from the uplink
Diffstat (limited to 'modules/protocol')
| -rw-r--r-- | modules/protocol/bahamut.cpp | 2 | ||||
| -rw-r--r-- | modules/protocol/inspircd11.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp index 724c59879..d71e88dd3 100644 --- a/modules/protocol/bahamut.cpp +++ b/modules/protocol/bahamut.cpp @@ -700,7 +700,7 @@ int anope_event_burst(const Anope::string &source, int ac, const char **av) * server finished bursting. -GD */ if (!s) - s = Me->GetUplink(); + s = Me->GetLinks().front(); if (s) s->Sync(true); } diff --git a/modules/protocol/inspircd11.cpp b/modules/protocol/inspircd11.cpp index e7297b679..c13ee1120 100644 --- a/modules/protocol/inspircd11.cpp +++ b/modules/protocol/inspircd11.cpp @@ -1036,7 +1036,7 @@ int anope_event_capab(const Anope::string &source, int ac, const char **av) int anope_event_endburst(const Anope::string &source, int ac, const char **av) { - Me->GetUplink()->Sync(true); + Me->GetLinks().front()->Sync(true); return MOD_CONT; } |
