summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-upgrade.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-08-20 20:53:44 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-08-20 20:53:44 +0200
commit5ffce90f23c043ac16b7703b0413f6610e4bc26b (patch)
treeb0009b4c8f1e87b1618f0b1dd27c9bc1bd99998f /src/plugins/irc/irc-upgrade.c
parent64cb3e6a6339130435ba3d59d61cf5e04123d411 (diff)
downloadweechat-5ffce90f23c043ac16b7703b0413f6610e4bc26b.zip
irc: change local variable "type" from "irc_list" to "list" on /list buffer
Diffstat (limited to 'src/plugins/irc/irc-upgrade.c')
-rw-r--r--src/plugins/irc/irc-upgrade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-upgrade.c b/src/plugins/irc/irc-upgrade.c
index 53f074526..fa82d20e8 100644
--- a/src/plugins/irc/irc-upgrade.c
+++ b/src/plugins/irc/irc-upgrade.c
@@ -324,7 +324,7 @@ irc_upgrade_set_buffer_callbacks ()
ptr_server);
}
}
- if (type && (strcmp (type, "irc_list") == 0))
+ if (type && (strcmp (type, "list") == 0))
{
ptr_server = irc_server_search (
weechat_buffer_get_string (ptr_buffer,