Skip to content

Commit

Permalink
add compat with irssi 1.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
landryb committed Jun 16, 2022
1 parent c4e2ea8 commit 4fd6aff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ IRSSI_INCLUDE=`cd $with_irssi; pwd`

AC_SUBST(IRSSI_INCLUDE)

AS_IF([test ! -f "$IRSSI_INCLUDE/irssi-config"],
AS_IF([test ! -f "$IRSSI_INCLUDE/irssi-config.h"],
[AC_ERROR(Not irssi directory: $IRSSI_INCLUDE)]
)

Expand Down
4 changes: 2 additions & 2 deletions src/core/icb-protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ static void sig_server_connected(ICB_SERVER_REC *server)
return;

server->readtag =
g_input_add(net_sendbuffer_handle(server->handle),
G_INPUT_READ,
i_input_add(net_sendbuffer_handle(server->handle),
I_INPUT_READ,
(GInputFunction) icb_parse_incoming, server);
}

Expand Down

0 comments on commit 4fd6aff

Please sign in to comment.