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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol/unreal32.cpp b/src/protocol/unreal32.cpp
index 2a8cc6b39..dff0421d2 100644
--- a/src/protocol/unreal32.cpp
+++ b/src/protocol/unreal32.cpp
@@ -1051,8 +1051,8 @@ int anope_event_sjoin(const char *source, int ac, const char **av)
/* Rejoin the bot to fix the TS */
if (c->ci->bi)
{
- ircdproto->SendPart(c->ci->bi, c, "TS reop");
- bot_join(c->ci);
+ c->ci->bi->Part(c, "TS reop");
+ c->ci->bi->Join(c);
}
/* Reset mlock */
check_modes(c);