* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: m_userhost.c 254 2005-09-21 23:35:12Z nenolod $
*/
#include "stdinc.h"
rl = rb_sprintf(response, "%s%s=%c%s@%s ",
target_p->name,
IsOper(target_p) ? "*" : "",
- (get_metadata(target_p, "away") != NULL) ? '-' : '+',
+ (target_p->user->away) ? '-' : '+',
target_p->username,
target_p->sockhost);
}
rl = rb_sprintf(response, "%s%s=%c%s@%s ",
target_p->name,
IsOper(target_p) ? "*" : "",
- (get_metadata(target_p, "away") != NULL) ? '-' : '+',
+ (target_p->user->away) ? '-' : '+',
target_p->username, target_p->host);
}