]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_userhost.c
Backed out changeset c04f6578869c
[irc/rqf/shadowircd.git] / modules / m_userhost.c
index 766334caf47e4405ceb923b21a81b357a96052a1..8cae493eb3a3e0ee090dbbbf65a3437351982910 100644 (file)
@@ -21,7 +21,6 @@
  *  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"
@@ -84,7 +83,7 @@ m_userhost(struct Client *client_p, struct Client *source_p, int parc, const cha
                                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);
                        }
@@ -93,7 +92,7 @@ m_userhost(struct Client *client_p, struct Client *source_p, int parc, const cha
                                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);
                        }