diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index 56659c1a..7248bbd4 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -2544,7 +2544,7 @@ void iq_mam_request(ProfChatWin* win) { if (connection_supports(XMPP_FEATURE_MAM2) == FALSE) { - log_warning("Server doesn't advertise %s feature.", XMPP_FEATURE_PING); + log_warning("Server doesn't advertise %s feature.", XMPP_FEATURE_MAM2); cons_show_error("Server doesn't support MAM."); return; }