1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

Make MSGLEVEL_HIDDEN accessible from scripts

Empty line in wrong place

Expose MSGLEVEL_HIDDEN to scripts
This commit is contained in:
vague666 2019-05-15 14:24:10 +02:00
parent 7654f30d04
commit 78ae00910e
2 changed files with 8 additions and 1 deletions

View File

@ -303,6 +303,13 @@ CODE:
perl_source_remove(tag); perl_source_remove(tag);
# maybe there's some easier way than this..? :) # maybe there's some easier way than this..? :)
int
MSGLEVEL_HIDDEN()
CODE:
RETVAL = MSGLEVEL_HIDDEN;
OUTPUT:
RETVAL
int int
MSGLEVEL_CRAP() MSGLEVEL_CRAP()
CODE: CODE:

View File

@ -142,7 +142,7 @@ require DynaLoader;
MSGLEVEL_TOPICS MSGLEVEL_WALLOPS MSGLEVEL_INVITES MSGLEVEL_NICKS MSGLEVEL_TOPICS MSGLEVEL_WALLOPS MSGLEVEL_INVITES MSGLEVEL_NICKS
MSGLEVEL_DCC MSGLEVEL_DCCMSGS MSGLEVEL_CLIENTNOTICE MSGLEVEL_CLIENTCRAP MSGLEVEL_DCC MSGLEVEL_DCCMSGS MSGLEVEL_CLIENTNOTICE MSGLEVEL_CLIENTCRAP
MSGLEVEL_CLIENTERROR MSGLEVEL_HILIGHT MSGLEVEL_ALL MSGLEVEL_NOHILIGHT MSGLEVEL_CLIENTERROR MSGLEVEL_HILIGHT MSGLEVEL_ALL MSGLEVEL_NOHILIGHT
MSGLEVEL_NO_ACT MSGLEVEL_NEVER MSGLEVEL_LASTLOG MSGLEVEL_NO_ACT MSGLEVEL_NEVER MSGLEVEL_LASTLOG MSGLEVEL_HIDDEN
); );
my $static = 0; my $static = 0;