307 |
|
IRC_CHANNELS[0] = '\0'; |
308 |
|
LIST_FOREACH(node, IRCItem->channels->head) |
309 |
|
{ |
310 |
< |
chan = (struct ChannelConf *) node->data; |
310 |
> |
chan = node->data; |
311 |
|
strlcat(IRC_CHANNELS, chan->name, sizeof(IRC_CHANNELS)); |
312 |
|
|
313 |
|
if(node->next) |
813 |
|
|
814 |
|
/* Perform */ |
815 |
|
LIST_FOREACH(node, IRCItem->performs->head) |
816 |
< |
irc_send("%s", (char *) node->data); |
816 |
> |
irc_send("%s", node->data); |
817 |
|
|
818 |
|
/* Join all listed channels. */ |
819 |
|
LIST_FOREACH(node, IRCItem->channels->head) |
820 |
|
{ |
821 |
< |
channel = (struct ChannelConf *) node->data; |
821 |
> |
channel = node->data; |
822 |
|
|
823 |
|
if (EmptyString(channel->name)) |
824 |
|
continue; |