Get rid of srvx-broadcast announcements. (They do not scale.)
[srvx.git] / src / global.h
index df3ed64b7f95a3966e4af2f816c5d27594bc5362..ecd753a41afe1f5aab36021330bd56152e23509b 100644 (file)
@@ -25,7 +25,6 @@
 #define MESSAGE_RECIPIENT_HELPERS              0x002
 #define MESSAGE_RECIPIENT_OPERS                        0x004
 #define MESSAGE_RECIPIENT_CHANNELS                     0x008
-#define MESSAGE_RECIPIENT_ANNOUNCE                     0x040
 
 #define MESSAGE_OPTION_SOURCELESS              0x010
 #define MESSAGE_OPTION_IMMEDIATE               0x020
 #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);