X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/d76ed9a966ee3d955c8ef00ecc02e643c2005e2e..5c6bff847f4904432e77dc856945f7d36669e444:/src/global.h diff --git a/src/global.h b/src/global.h index df3ed64..30af23f 100644 --- a/src/global.h +++ b/src/global.h @@ -1,9 +1,9 @@ /* global.h - Global notice service * Copyright 2000-2004 srvx Development Team * - * This file is part of srvx. + * This file is part of x3. * - * srvx is free software; you can redistribute it and/or modify + * x3 is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. @@ -33,23 +33,9 @@ #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); +void global_message_args(long targets, const char *language_entry, ...); #endif