summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-info.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-03-25 10:05:58 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-03-25 10:05:58 +0200
commit0d74b03004d3847f872746e11f880a875aceac1d (patch)
tree06ebd1fa35cc38e7fc52f03e923520cc191a04a9 /src/plugins/irc/irc-info.c
parent8f3c9a73784ddba6dcf1ed942725e595183235ac (diff)
downloadweechat-0d74b03004d3847f872746e11f880a875aceac1d.zip
irc: rename functions to search modelist items
Diffstat (limited to 'src/plugins/irc/irc-info.c')
-rw-r--r--src/plugins/irc/irc-info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-info.c b/src/plugins/irc/irc-info.c
index 1eaab8711..13d663a67 100644
--- a/src/plugins/irc/irc-info.c
+++ b/src/plugins/irc/irc-info.c
@@ -730,7 +730,8 @@ irc_info_infolist_irc_modelist_item_cb (const void *pointer, void *data,
weechat_string_free_split (argv);
return NULL;
}
- obj_pointer = irc_modelist_item_number (ptr_modelist, (int)number);
+ obj_pointer = irc_modelist_item_search_number (ptr_modelist,
+ (int)number);
if (!obj_pointer)
{
weechat_string_free_split (argv);