]> jfr.im git - solanum.git/blobdiff - include/client.h
presence: Remove user.away, replaced by a metadata entry.
[solanum.git] / include / client.h
index 0060788a638458faac21b18e738e18e8d587494a..c7df24d7cbe33fc6fabebe90b85b3c8d6d398628 100644 (file)
@@ -92,7 +92,6 @@ struct User
 {
        rb_dlink_list channel;  /* chain of channel pointer blocks */
        rb_dlink_list invited;  /* chain of invite pointer blocks */
-       char *away;             /* pointer to away message */
        int refcnt;             /* Number of times this block is referenced */
 
        char suser[NICKLEN+1];
@@ -614,6 +613,7 @@ extern char *generate_uid(void);
 void allocate_away(struct Client *);
 void free_away(struct Client *);
 
+const char *get_metadata(struct Client *, const char *);
 void set_metadata(struct Client *, const char *, const char *);
 void delete_metadata(struct Client *, const char *);