1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

core: use type "enum" in options

This commit is contained in:
Sébastien Helleu
2023-07-06 21:16:56 +02:00
parent 66cb9f6ea2
commit 481e8f197d
37 changed files with 215 additions and 215 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ irc_msgbuffer_get_target_buffer (struct t_irc_server *server, const char *nick,
ptr_channel = irc_channel_search (server, nick);
if (ptr_channel)
return ptr_channel->buffer;
if (weechat_config_integer (irc_config_look_msgbuffer_fallback) ==
if (weechat_config_enum (irc_config_look_msgbuffer_fallback) ==
IRC_CONFIG_LOOK_MSGBUFFER_FALLBACK_SERVER)
{
return (server) ? server->buffer : NULL;