diff options
-rw-r--r-- | ChangeLog.adoc | 1 | ||||
-rw-r--r-- | src/plugins/alias/alias-config.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc index fe1d2ad40..5e1a6801f 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -40,6 +40,7 @@ New features:: * api: add optional argument with version in info "version_number" * alias: use lower case for default aliases, rename all aliases to lower case on upgrade (issue #1872) * alias: add `$&` to replace all arguments with double quotes escaped (issue #1140, issue #1190) + * alias: add alias `action` to send a CTCP ACTION to a channel or a nick (issue #1577) * irc: rename "ssl" options to "tls", connect with TLS and port 6697 by default * irc: add support of capabilities "batch" and "draft/multiline" (issue #1292, issue #1923) * irc: add support of capability "echo-message" (issue #139) diff --git a/src/plugins/alias/alias-config.c b/src/plugins/alias/alias-config.c index 7d65a1c1b..5aaf0206a 100644 --- a/src/plugins/alias/alias-config.c +++ b/src/plugins/alias/alias-config.c @@ -34,6 +34,7 @@ struct t_config_section *alias_config_section_completion = NULL; char *alias_default[][3] = { { "aaway", "allserv /away", NULL }, + { "action", "ctcp $1 action $2-", NULL }, { "anick", "allserv /nick", NULL }, { "beep", "print -beep", NULL }, { "bye", "quit", NULL }, |