add autoaway

This commit is contained in:
deepend committed 2026-12-05 10:15:07 -06:00
1 parent 3714756670
commit 0566e7b7a9
29 files changed
+828 -8

No files matched your search

+7
View File
@@ -31,6 +31,7 @@
#include "zoitechat.h"
#include "proto-irc.h"
#include "autoaway.h"
#include "ctcp.h"
#include "fe.h"
#include "ignore.h"
@@ -439,6 +440,12 @@ irc_raw (server *serv, char *raw)
{
int len;
char tbuf[8704];
/* /QUOTE AWAY and scripts sending raw AWAY also take manual ownership. */
if (!g_ascii_strncasecmp (raw, "AWAY", 4) &&
(raw[4] == 0 || raw[4] == ' '))
autoaway_manual (serv);
if (*raw)
{
len = strlen (raw);