mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +02:00
use symbolic defines for capability strings
This commit is contained in:
parent
e0ff13f6c1
commit
d512647b3f
2 changed files with 4 additions and 2 deletions
|
|
@ -236,9 +236,9 @@ static void server_init(IRC_SERVER_REC *server)
|
|||
}
|
||||
|
||||
if (conn->sasl_mechanism != SASL_MECHANISM_NONE)
|
||||
irc_cap_toggle(server, "sasl", TRUE);
|
||||
irc_cap_toggle(server, CAP_SASL, TRUE);
|
||||
|
||||
irc_cap_toggle(server, "multi-prefix", TRUE);
|
||||
irc_cap_toggle(server, CAP_MULTI_PREFIX, TRUE);
|
||||
|
||||
irc_send_cmd_now(server, "CAP LS " CAP_LS_VERSION);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue