On Thu, 2009-03-26 at 23:49 -0400, Alex Vandiver wrote: > In this case, djabberd is the _initiating_ entity, and as such, no > <features/> element is expected.
The attached patch fixes a copy-and-paste lie in the comment at the top of DJabberd::Conenction::ServerOut, as well as a small typo. Every time I tried to re-understand dialback, the comment at the top kept throwing me off. - Alex
>From c810ce6ee40665dd67e59505d665fdf8f934c6be Mon Sep 17 00:00:00 2001 From: Alex Vandiver <ale...@mit.edu> Date: Thu, 26 Mar 2009 23:53:30 -0400 Subject: [PATCH] Fix misleading comment, and typo --- DJabberd/lib/DJabberd/Connection/ServerOut.pm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DJabberd/lib/DJabberd/Connection/ServerOut.pm b/DJabberd/lib/DJabberd/Connection/ServerOut.pm index 3d9f696..62de7c5 100644 --- a/DJabberd/lib/DJabberd/Connection/ServerOut.pm +++ b/DJabberd/lib/DJabberd/Connection/ServerOut.pm @@ -1,4 +1,4 @@ -# outgoing connection to another server for the sole purpose of verifying a dialback result. +# outgoing connection to another server, including setting up dialback secret package DJabberd::Connection::ServerOut; use strict; use base 'DJabberd::Connection'; @@ -77,7 +77,7 @@ sub on_stream_start { $self->{in_stream} = 1; $self->log->debug("We got a stream back from connection $self->{id}!\n"); unless ($ss->announced_dialback) { - $self->log->warn("Connection $self->{id} doesn't support dialbacl, failing"); + $self->log->warn("Connection $self->{id} doesn't support dialback, failing"); $self->{queue}->on_connection_failed($self, "no dialback"); return; } -- 1.6.2.1.321.g7b198.dirty