Integrate Global "from" option; reorganize code
[srvx.git] / src / global.h
index df3ed64b7f95a3966e4af2f816c5d27594bc5362..b4bf81bb72b55b906daae7d256b1110f698289e5 100644 (file)
 #define MESSAGE_RECIPIENT_STAFF                        (MESSAGE_RECIPIENT_HELPERS | MESSAGE_RECIPIENT_OPERS)
 #define MESSAGE_RECIPIENT_ALL                  (MESSAGE_RECIPIENT_LUSERS | MESSAGE_RECIPIENT_CHANNELS)
 
-struct globalMessage
-{
-    unsigned long                              id;
-    long                               flags;
-
-    time_t                             posted;
-    unsigned long                      duration;
-
-    char                               *from;
-    char                               *message;
-
-    struct globalMessage               *prev;
-    struct globalMessage               *next;
-};
-
 void init_global(const char *nick);
 
 void global_message(long targets, char *text);