From 51f73b614b630372738484440a9b29895d90eddd Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 2 Jun 2009 02:06:18 -0500 Subject: [PATCH] presence: Replace stagnant free_away() call with delete_metadata(..., "away"). --- modules/m_away.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/m_away.c b/modules/m_away.c index 540fd3e..d8eb876 100644 --- a/modules/m_away.c +++ b/modules/m_away.c @@ -83,7 +83,7 @@ m_away(struct Client *client_p, struct Client *source_p, int parc, const char *p /* we now send this only if they were away before --is */ sendto_server(client_p, NULL, CAP_TS6, NOCAPS, ":%s AWAY", use_id(source_p)); - free_away(source_p); + delete_metadata(source_p, "away"); } if(MyConnect(source_p)) sendto_one_numeric(source_p, RPL_UNAWAY, form_str(RPL_UNAWAY));