summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-05-03 07:12:34 +0200
committerSébastien Helleu <flashcode@flashtux.org>2024-05-03 07:12:34 +0200
commitd85205ca8afac6c779d1e720b76e0e37e797ba3a (patch)
tree0e8e1ab4348ff875554a01d1c149ebe87bf98357
parent06d10ad193bc4029b65c7f06bc11ae91af0e9545 (diff)
downloadweechat-d85205ca8afac6c779d1e720b76e0e37e797ba3a.zip
irc: remove unneeded parameter in call to `irc_list_alloc()`
-rw-r--r--src/plugins/irc/irc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index 5cc7e224d..b9dc7992e 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -1758,7 +1758,7 @@ irc_server_alloc (const char *name)
weechat_config_integer (irc_config_network_lag_check);
new_server->lag_last_refresh = 0;
new_server->cmd_list_regexp = NULL;
- new_server->list = irc_list_alloc (new_server);
+ new_server->list = irc_list_alloc ();
new_server->last_away_check = 0;
new_server->last_data_purge = 0;
for (i = 0; i < IRC_SERVER_NUM_OUTQUEUES_PRIO; i++)