| 36 |
|
{ |
| 37 |
|
unsigned int mode; /*!< simple modes */ |
| 38 |
|
unsigned int limit; /*!< +l userlimit */ |
| 39 |
< |
char key[KEYLEN]; /*!< +k key */ |
| 39 |
> |
char key[KEYLEN + 1]; /*!< +k key */ |
| 40 |
|
}; |
| 41 |
|
|
| 42 |
|
/*! \brief Channel structure */ |
| 47 |
|
struct Channel *hnextch; |
| 48 |
|
struct Mode mode; |
| 49 |
|
|
| 50 |
< |
char *topic; |
| 51 |
< |
char *topic_info; |
| 50 |
> |
char topic[TOPICLEN + 1]; |
| 51 |
> |
char topic_info[USERHOST_REPLYLEN]; |
| 52 |
|
|
| 53 |
|
time_t channelts; |
| 54 |
|
time_t topic_time; |
| 115 |
|
extern void check_spambot_warning(struct Client *, const char *); |
| 116 |
|
extern void check_splitmode(void *); |
| 117 |
|
extern void free_channel_list(dlink_list *); |
| 118 |
– |
extern void free_topic(struct Channel *); |
| 118 |
|
extern void destroy_channel(struct Channel *); |
| 119 |
|
extern void set_channel_topic(struct Channel *, const char *, const char *, time_t); |
| 120 |
|
|