diff options
Diffstat (limited to 'src/irc/irc-send.c')
-rw-r--r-- | src/irc/irc-send.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/irc/irc-send.c b/src/irc/irc-send.c index 887238d77..06b8ad5fc 100644 --- a/src/irc/irc-send.c +++ b/src/irc/irc-send.c @@ -458,7 +458,6 @@ irc_cmd_send_ctcp (t_irc_server *server, t_irc_channel *channel, { char *pos_type, *pos_args, *pos; struct timeval tv; - struct timezone tz; /* make gcc happy */ (void) channel; @@ -500,7 +499,7 @@ irc_cmd_send_ctcp (t_irc_server *server, t_irc_channel *channel, if ((ascii_strcasecmp (pos_type, "ping") == 0) && (!pos_args)) { - gettimeofday (&tv, &tz); + gettimeofday (&tv, NULL); server_sendf (server, "PRIVMSG %s :\01PING %d %d\01\r\n", arguments, tv.tv_sec, tv.tv_usec); gui_printf (server->buffer, " %s%d %d\n", |