Sébastien Helleu
1f0636bab6
irc: remove unused variable ptr_address and dead code
2021-04-10 14:11:11 +02:00
Sébastien Helleu
7bd23700de
irc: remove dead assignment on variable pos_message
2021-04-10 13:26:46 +02:00
Sébastien Helleu
0f71b4ccc8
irc: add bar item "irc_nick_prefix"
2021-02-27 13:44:24 +01:00
Sébastien Helleu
83379469aa
irc: fix separator between nick and host in bar item "irc_nick_host"
...
Use "!" instead of "@" to separate nick from host, like it is done in IRC
protocol.
The nick and host is now displayed as "nick!user@host" instead of
"nick@user@host".
2021-02-27 09:02:09 +01:00
Sébastien Helleu
a34959a619
irc: add info "irc_is_message_ignored"
2021-02-03 18:30:32 +01:00
Sébastien Helleu
691c9a0a0f
irc: add function irc_server_get_chantypes
2021-01-30 10:34:23 +01:00
Sébastien Helleu
0c98b0cfa4
irc: use server option "default_chantypes" as fallback in function irc_nick_is_nick
2021-01-30 09:59:04 +01:00
Sébastien Helleu
dd589cd141
irc: use server option "default_chantypes" as fallback when automatically adding channel type on join
2021-01-30 09:31:31 +01:00
Sébastien Helleu
ec2ffedab6
irc: improve help on server option "default_chantypes"
2021-01-30 09:25:06 +01:00
Sébastien Helleu
293402143b
irc: fix name of option "default_chantypes" in list of server options
2021-01-30 09:24:34 +01:00
Sébastien Helleu
e74dd22707
irc: simplify code in function irc_channel_is_channel
2021-01-30 09:05:49 +01:00
Matti Virkkunen
bad6dc8a57
irc: make default chantypes configurable
2021-01-30 01:01:51 +02:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
df4b9170f1
irc: remove obsolete comment on translation
2021-01-02 15:22:02 +01:00
Sébastien Helleu
b8acaf8a14
irc: fix ambiguity on translation of word "server"
...
This fixes the following warning:
/usr/bin/xgettext: warning: msgid 'server' is used without plural and with plural.
./src/plugins/irc/irc-bar-item.c:136: Here is the occurrence without plural.
./src/plugins/irc/irc.c:154: Here is the occurrence with plural.
Workaround: If the msgid is a sentence, change the wording of the sentence; otherwise, use contexts for disambiguation.
2021-01-02 15:18:26 +01:00
Sébastien Helleu
ee25c74903
irc: fix completion of commands /halfop and /dehalfop
2020-12-06 15:48:55 +01:00
Sébastien Helleu
cd7947d8fc
irc: add missing parameter "-yes" in /help dehalfop
2020-12-06 15:47:52 +01:00
dotflac
4974c2f0a2
add -yes to output of /help voice
...
currently /help voice does not tell you that you need -yes if you are using *. i have changed it to match /help op, /help deop and /help devoice
2020-12-06 15:43:36 +01:00
Sébastien Helleu
30e48336f4
irc: remove SASL timeout message displayed by error after successful SASL authentication ( closes #1515 )
...
The SASL timer is removed immediately when the SASL authentication is
successful or has failed.
2020-10-18 09:35:04 +02:00
Sébastien Helleu
b32f561f77
irc: fix again typo in English plural form of "normal"
2020-09-12 18:49:42 +02:00
Sébastien Helleu
1745b78b57
irc: fix typo in English plural form of "normal" (normals -> normal)
2020-09-12 18:08:13 +02:00
Sébastien Helleu
aac14f28dd
irc: add comments in functions irc_color_decode and irc_color_encode
2020-08-25 19:37:47 +02:00
Sébastien Helleu
cfd221014c
api: add argument "bytes" in function string_dyn_concat
2020-08-23 23:27:57 +02:00
Sébastien Helleu
d53fb92a30
irc: replace calls to malloc by calloc
...
After these calls to malloc the memory is set to zero, so it's better to call
calloc that does it already.
2020-08-17 20:06:17 +02:00
Sébastien Helleu
0cc5df6649
irc: send all channels in a single JOIN command when reconnecting to the server ( closes #1551 )
2020-08-05 20:05:36 +02:00
Simmo Saan
b69e47d0a2
irc: add pointer "irc_nick" in hashtable sent to hook focus callback ( closes #1535 )
2020-07-21 08:18:43 +02:00
Sébastien Helleu
84e30438d4
irc: allow to send text on buffers with commands /allchan, /allpv and /allserv
2020-07-20 22:39:28 +02:00
Sébastien Helleu
ee3a4a1fc0
irc: evaluate command executed by commands /allchan, /allpv and /allserv ( closes #1536 )
...
The extra variables are now replaced (in addition to `$server`, `$channel` and
`$nick`):
- `${irc_server.xxx}`: variable xxx in server
- `${irc_channel.xxx}`: variable xxx in channel
2020-07-20 22:20:22 +02:00
Sébastien Helleu
5b151d1639
irc: check that the first nick char is not a prefix char or chantype in function irc_nick_is_nick
2020-06-21 10:22:37 +02:00
Sébastien Helleu
4a42cda3a5
irc: change default chantypes from "#&+!" to "#&"
...
The default chantypes was conflicting with
irc_server_prefix_chars_default ("@+").
2020-06-21 10:22:04 +02:00
Sébastien Helleu
12051a506d
irc: add support of UTF8MAPPING, add support of optional server in info "irc_is_nick" ( closes #1528 )
2020-06-20 17:28:28 +02:00
Sébastien Helleu
2a60a25443
irc: return NULL in info "irc_is_channel" if arguments is NULL or empty string
2020-06-20 10:04:40 +02:00
Sébastien Helleu
eba9c31da0
irc: fix display of ACCOUNT message when the account name is ":*" ( closes #1526 )
2020-06-15 23:03:58 +02:00
Sébastien Helleu
d0ae0fea49
irc: skip semicolon before account name in ACCOUNT message
2020-06-15 07:12:06 +02:00
Sébastien Helleu
196a4e28aa
irc: fix add of ignore with flags in regex, display full ignore mask in list of ignores ( closes #1518 )
2020-06-04 08:05:57 +02:00
Max Teufel
0027c23b7e
irc: display account messages in buffers
2020-06-03 07:59:04 +02:00
Sébastien Helleu
4a67c4a1ab
irc: do not remove spaces at the end of users messages received ( closes #1513 )
...
The regression was introduced in version 2.5 by commit
2b70d71aa1 .
2020-05-19 20:12:27 +02:00
Simmo Saan
517c4c2903
irc: fix realname delimiter color in WHO/WHOX response
2020-05-09 19:31:34 +02:00
Sébastien Helleu
4c050b343d
irc: reuse a buffer with wrong type "channel" when a private message is received ( closes #869 )
2020-05-08 13:27:20 +02:00
Sébastien Helleu
88bef0b1b1
core: rename functions hook_completion_{get_string|list_add} to completion_{get_string|list_add}
...
Old functions are kept for compatibility reasons.
2020-05-08 10:51:30 +02:00
Sébastien Helleu
e130ee7358
core: make GnuTLS a required dependency
2020-04-18 11:34:59 +02:00
Sébastien Helleu
4481b93d35
irc: add missing modifier "irc_color_decode_ansi" in comment on function irc_color_modifier_cb
2020-03-30 07:31:11 +02:00
Sébastien Helleu
03ffd396a4
irc: move functions irc_protocol_get_message_tags and irc_protocol_parse_time before protocol callbacks
2020-03-28 13:39:48 +01:00
Sébastien Helleu
2efad93220
irc: remove empty lines
2020-03-28 10:36:10 +01:00
Sébastien Helleu
349251feb1
irc: fix typo in description of message 001
2020-03-27 22:51:15 +01:00
Sébastien Helleu
0834286843
irc: add examples of NOTICE and PRIVMSG messages to channel ops
2020-03-27 22:50:52 +01:00
Sébastien Helleu
c14d5ba004
irc: use larger buffer for message in function irc_message_split_authenticate, just in case
2020-03-21 14:31:53 +01:00
Sébastien Helleu
4480c7b7cc
irc: split AUTHENTICATE message in 400-byte chunks ( closes #1459 )
2020-03-21 14:28:53 +01:00
Sébastien Helleu
bf42a1ebc5
irc: replace "char *" by "const char *" in arguments of split functions
2020-03-21 14:27:47 +01:00
Sébastien Helleu
c29b45a0f2
api: add info "auto_connect" ( closes #1453 )
2020-03-20 20:42:05 +01:00