diff --git a/mod_irc/src/mod_irc_connection.erl b/mod_irc/src/mod_irc_connection.erl index a2837f5..1610db9 100644 --- a/mod_irc/src/mod_irc_connection.erl +++ b/mod_irc/src/mod_irc_connection.erl @@ -407,8 +407,10 @@ handle_info({route_chan, Channel, Resource, Err = xmpp:err_feature_not_implemented(), ejabberd_router:route_error(Packet, Err); ?NS_VCARD -> - Res = io_lib:format("WHOIS ~s \r\n", [Resource]), - _ = (?SEND(Res)), + %% TODO: catch WHOIS replies and translate their details to something resembling vCards + %% For now this just errors out. + %% Res = io_lib:format("WHOIS ~s \r\n", [Resource]), + %% _ = (?SEND(Res)), Err = xmpp:err_feature_not_implemented(), ejabberd_router:route_error(Packet, Err); _ ->