ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/irc.c
(Generate patch)

Comparing hopm/trunk/src/irc.c (file contents):
Revision 5090 by michael, Mon Dec 22 19:57:43 2014 UTC vs.
Revision 5091 by michael, Tue Dec 23 19:59:18 2014 UTC

# Line 307 | Line 307 | static void irc_init(void)
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)
# Line 813 | Line 813 | static void m_perform(char **parv, unsig
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;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)