X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fchannel.h;fp=src%2Fchannel.h;h=aeb21dc7dfb762c59bdee82f47a0448d1a431923;hb=01e804f06e00c36c5680ebde07cbe17e6b256dc4;hp=a7f31d55f90ea75842c00e179c2b77f4a8032082;hpb=dd433dd7c2060728c6f51c15c9e822aa26f503d8;p=umurmur.git diff --git a/src/channel.h b/src/channel.h index a7f31d5..aeb21dc 100644 --- a/src/channel.h +++ b/src/channel.h @@ -40,7 +40,7 @@ typedef struct channel { char name[MAX_TEXT]; char desc[MAX_TEXT]; struct channel *parent; - bool_t temporary; + bool_t temporary, noenter; struct dlist node; struct dlist subs; struct dlist clients; @@ -57,6 +57,7 @@ void Chan_addClient(channel_t *c, client_t *client); void Chan_removeClient(channel_t *c, client_t *client); int Chan_playerJoin(channel_t *ch, client_t *client); int Chan_playerJoin_id(int channelid, client_t *client); +bool_t Chan_playerJoin_id_test(int channelid); channel_t *Chan_iterate(channel_t **channelpptr); channel_t *Chan_iterate_siblings(channel_t *parent, channel_t **channelpptr); channel_t *Chan_createChannel(const char *name, const char *desc);