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 987ef7eb1f
commit 51f73b614b
1 changed files with 1 additions and 1 deletions

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