presence: Replace stagnant free_away() call with delete_metadata(..., "away").

This commit is contained in:
William Pitcock 2009-06-02 02:06:18 -05:00
parent 884b5d41c1
commit 4af8bcef59

View file

@ -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));