mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
Actions are now sent in "ctcp action" signal which is never ignored. "ctcp
msg action" doesn't work anymore nor does it show in "ctcp msg"s. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2303 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7131ceb909
commit
9fffa58c20
4 changed files with 37 additions and 24 deletions
|
|
@ -224,6 +224,13 @@ static void ctcp_msg(IRC_SERVER_REC *server, const char *data,
|
|||
{
|
||||
char *args, *str;
|
||||
|
||||
if (g_strncasecmp(data, "ACTION ", 7) == 0) {
|
||||
/* special treatment for actions */
|
||||
signal_emit("ctcp action", 5, server, data+7,
|
||||
nick, addr, target);
|
||||
return;
|
||||
}
|
||||
|
||||
if (ignore_check(SERVER(server), nick, addr, target, data, MSGLEVEL_CTCPS))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue