clicaps: Disable away-notify for now

This commit is contained in:
Sam Dodrill 2014-03-20 07:42:29 -07:00
parent 3a8780867a
commit 1bd7b59879
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ static struct clicap
_CLICAP("sasl", CLICAP_SASL, 0, 0),
_CLICAP("account-notify", CLICAP_ACCOUNT_NOTIFY, 0, 0),
_CLICAP("extended-join", CLICAP_EXTENDED_JOIN, 0, 0),
_CLICAP("away-notify", CLICAP_AWAY_NOTIFY, 0, 0),
// _CLICAP("away-notify", CLICAP_AWAY_NOTIFY, 0, 0),
};
#define CLICAP_LIST_LEN (sizeof(clicap_list) / sizeof(struct clicap))

View File

@ -2012,10 +2012,10 @@ void user_join(struct Client * client_p, struct Client * source_p, const char *
source_p->tsinfo, source_p->info);
/* Send away message to away-notify enabled clients. */
if (client_p->user && client_p->user->away)
/* if (client_p->user && client_p->user->away)
sendto_channel_local_with_capability_butone(client_p, ALL_MEMBERS, CLICAP_AWAY_NOTIFY, NOCAPS, chptr,
":%s!%s@%s AWAY :%s", client_p->name, client_p->username,
client_p->host, client_p->user->away);
client_p->host, client_p->user->away);*/
/* its a new channel, set +nt and burst. */
if(flags & CHFL_CHANOP)