Skip to content

Commit

Permalink
Implement Irssi ABI check.
Browse files Browse the repository at this point in the history
The ABI check was introduced with
irssi/irssi#363 and if not provided the module
will to load.

I stumbled over this while trying to get it running on OSX with irssi
build from master (cryptodotis#40).
  • Loading branch information
hanshasselberg committed Jan 17, 2016
1 parent 4ad3b7b commit 70a3748
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/otr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1105,3 +1105,8 @@ void otr_distrust(SERVER_REC *irssi, const char *nick, char *str_fp,
error:
return;
}

void otr_abicheck(int *version)
{
*version = 1;
}

0 comments on commit 70a3748

Please sign in to comment.