1
0
mirror of https://github.com/irssi/irssi.git synced 2025-01-03 14:56:47 -05:00

Expose 'cap_toggle' to the perl scripts.

This commit is contained in:
LemonBoy 2016-09-15 13:59:52 +02:00
parent 9591afcb4b
commit 0e0d99587a
2 changed files with 10 additions and 0 deletions

View File

@ -149,3 +149,12 @@ CODE:
OUTPUT:
RETVAL
int
irc_server_cap_toggle(server, cap, enable)
Irssi::Irc::Server server
char *cap
int enable
CODE:
RETVAL = cap_toggle(server, cap, enable);
OUTPUT:
RETVAL

View File

@ -6,6 +6,7 @@
#include "irc-queries.h"
#include "irc-nicklist.h"
#include "irc-masks.h"
#include "irc-cap.h"
#include "bans.h"
#include "modes.h"