mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-12-05 22:42:06 +00:00
add autoaway
This commit is contained in:
29 files changed
+828
-8
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user