mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 16:53:14 +02:00
irc: fix type of value stored in hashtable when joining a channel (closes #211)
This commit is contained in:
@@ -2202,7 +2202,7 @@ irc_command_join_server (struct t_irc_server *server, const char *arguments,
|
||||
char *new_args, **channels, **keys, *pos_space, *pos_keys, *pos_channel;
|
||||
char *channel_name;
|
||||
int i, num_channels, num_keys, length;
|
||||
int time_now;
|
||||
time_t time_now;
|
||||
struct t_irc_channel *ptr_channel;
|
||||
|
||||
if (server->sock < 0)
|
||||
@@ -2265,7 +2265,7 @@ irc_command_join_server (struct t_irc_server *server, const char *arguments,
|
||||
}
|
||||
}
|
||||
new_args[0] = '\0';
|
||||
time_now = (int)time (NULL);
|
||||
time_now = time (NULL);
|
||||
for (i = 0; i < num_channels; i++)
|
||||
{
|
||||
if (i > 0)
|
||||
|
||||
Reference in New Issue
Block a user