Get rid of remaining tabs and replace them with spaces.
[srvx.git] / src / nickserv.h
index 97d3fb3dbcca7a40ce471012ba41e9920b092e18..4b75a9ebad0d0bf2993d2348189675aa3fd10918 100644 (file)
@@ -42,8 +42,8 @@ struct svccmd;
 #define HANDLE_FLAGS "SphgscfnHb"
 
 /* HI_STYLE_* go into handle_info.userlist_style */
-#define HI_STYLE_DEF          'd'
-#define HI_STYLE_ZOOT         'Z'
+#define HI_STYLE_DEF    'd'
+#define HI_STYLE_ZOOT   'Z'
 
 #define HI_DEFAULT_FLAGS       (HI_FLAG_MIRC_COLOR)
 #define HI_DEFAULT_STYLE       HI_STYLE_DEF
@@ -75,28 +75,39 @@ struct handle_cookie {
     char cookie[COOKIELEN+1];
 };
 
+struct handle_note {
+    struct handle_note *next;
+    time_t expires;
+    time_t set;
+    int id;
+    char setter[NICKSERV_HANDLE_LEN+1];
+    char note[1];
+};
+
 struct handle_info {
     struct nick_info *nicks;
     struct string_list *masks;
     struct userNode *users;
     struct userData *channels;
     struct handle_cookie *cookie;
+    struct handle_note *notes;
     struct language *language;
     char *email_addr;
     char *epithet;
     char *infoline;
     char *handle;
+    char *fakehost;
 #ifdef WITH_PROTOCOL_BAHAMUT
     unsigned long id;
 #endif
     time_t registered;
     time_t lastseen;
+    int karma;
     unsigned short flags;
     unsigned short opserv_level;
     unsigned short screen_width;
     unsigned short table_width;
     unsigned char userlist_style;
-    unsigned char announcements;
     unsigned char maxlogins;
     char passwd[MD5_CRYPT_LENGTH+1];
     char last_quit_host[USERLEN+HOSTLEN+2];