mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +02:00
Merge pull request #1044 from vague666/perlify_msglevel_hidden
Make MSGLEVEL_HIDDEN accessible from scripts
This commit is contained in:
commit
5d70eb18f5
2 changed files with 8 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue