Add /on NOTICE_GROUP and /fset NOTICE_GROUP analogous to MSG_GROUP
This hook and format are used for NOTICEs where the destination isn't a channel and isn't yourself - eg. global targets like $$*.org. This was already the case for PRIVMSGs (using the MSG_GROUP hook and format). Previously these were being routed like a normal NOTICE, and those don't display the target, so it looked exactly like a private NOTICE to you. This will also catch server notices sent before you're registered.
This commit is contained in:
@@ -139,7 +139,8 @@
|
||||
#define DEFAULT_FORMAT_IGNORE_NOTICE_FSET "%K-%P$2%K(%p$3%K)-%n $4-"
|
||||
#define DEFAULT_FORMAT_IGNORE_WALL_FSET "%K%P$1%n $2-"
|
||||
/* Done MSG */
|
||||
#define DEFAULT_FORMAT_MSG_GROUP_FSET "%K-%P$1%K:%p$3%K-%n $4-"
|
||||
#define DEFAULT_FORMAT_MSG_GROUP_FSET "%K-%P$1%K:%p$2%K-%n $3-"
|
||||
#define DEFAULT_FORMAT_NOTICE_GROUP_FSET "%K=%P$1%K:%p$2%K=%n $3-"
|
||||
|
||||
/* Done NAMES */
|
||||
#define DEFAULT_FORMAT_NAMES_BANNER_FSET "$G "
|
||||
@@ -570,6 +571,7 @@
|
||||
#define DEFAULT_FORMAT_IGNORE_NOTICE_FSET "%K-%P$2%K(%p$3%K)-%n $4-"
|
||||
#define DEFAULT_FORMAT_IGNORE_WALL_FSET "%K%P$1%n $2-"
|
||||
#define DEFAULT_FORMAT_MSG_GROUP_FSET "%K-%P$1%K:%p$2%K-%n $3-"
|
||||
#define DEFAULT_FORMAT_NOTICE_GROUP_FSET "%K=%P$1%K:%p$2%K=%n $3-"
|
||||
|
||||
#define DEFAULT_FORMAT_NAMES_FSET ansi?"$G %K[%GUsers%K(%g$1%K:%g$2%K/%g$3%K)]%c $4":"$G [Users($1:$2/$3)] $4"
|
||||
#define DEFAULT_FORMAT_NAMES_BOT_FSET ansi?"$G %K[%GBots%K(%g$1%K:%g$2%K/%g$3%K)]%c $4":"$G [Bots($1:$2/$3)] $4"
|
||||
|
||||
@@ -260,6 +260,7 @@ FORMAT_NICK_MSG_FSET,
|
||||
FORMAT_NONICK_FSET,
|
||||
FORMAT_NOTE_FSET,
|
||||
FORMAT_NOTICE_FSET,
|
||||
FORMAT_NOTICE_GROUP_FSET,
|
||||
FORMAT_NOTIFY_OFF_FSET,
|
||||
FORMAT_NOTIFY_ON_FSET,
|
||||
FORMAT_NOTIFY_SIGNOFF_FSET,
|
||||
|
||||
@@ -90,6 +90,7 @@ enum HOOK_TYPES {
|
||||
NICKNAME_LIST,
|
||||
NOTE_LIST,
|
||||
NOTICE_LIST,
|
||||
NOTICE_GROUP_LIST,
|
||||
NOTIFY_LIST,
|
||||
NOTIFY_HEADER_LIST,
|
||||
NOTIFY_SIGNOFF_LIST,
|
||||
|
||||
Reference in New Issue
Block a user