Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some changes #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ AM_MAINTAINER_MODE

AC_PROG_CC
AC_PROG_CPP
AM_PROG_AR
AC_PROG_LIBTOOL
AC_STDC_HEADERS
AC_ARG_PROGRAM
Expand Down
8 changes: 8 additions & 0 deletions src/core/icb-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,11 @@ void icb_core_deinit(void)
signal_emit("chat protocol deinit", 1, chat_protocol_find("ICB"));
chat_protocol_unregister("ICB");
}

#ifdef IRSSI_ABI_VERSION
void
icb_core_abicheck(int * version)
{
*version = IRSSI_ABI_VERSION;
}
#endif
11 changes: 10 additions & 1 deletion src/fe-common/fe-icb.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ static void event_personal(ICB_SERVER_REC *server, const char *data)
char **args;

args = icb_split(data, 2);
signal_emit("message private", 4, server, args[1], args[0], "");
signal_emit("message private", 5, server, args[1], args[0], "",
server->nick);
icb_split_free(args);
}

Expand Down Expand Up @@ -531,3 +532,11 @@ void fe_icb_deinit(void)

signal_remove("server add fill", (SIGNAL_FUNC) sig_server_add_fill);
}

#ifdef IRSSI_ABI_VERSION
void
fe_icb_abicheck(int * version)
{
*version = IRSSI_ABI_VERSION;
}
#endif