fixed infinite recursion if get_server() was called in activate() of a plugin