-
- /* XXX in the future, this may move to a static chanrec method (the delete.) -- w00t */
- if (!channel->PartUser(user, reason.c_str()))
- delete channel;
-
- chanrec::JoinUser(ServerInstance, user, parameters[0], true, "", ServerInstance->Time(true));
+
+ channel->PartUser(user, reason);
+
+ Channel::JoinUser(user, parameters[0].c_str(), true, "", false, ServerInstance->Time());