David Schultz
9324ff9f68
this should work for everyone
2023-03-27 11:05:40 -05:00
David Schultz
556f580f67
add support for ircd-hybrid quiet lists
2023-03-26 19:27:48 -05:00
David Schultz
2db9dfbb46
properly format listmodes and their timestamps
2023-03-26 16:36:27 -05:00
Andrej Kacian
3057c9e920
Fix logic in how actions are printed for other protocols
...
This causes subsequent window_item_set_active() check, further
down in the same function, to evaluate correctly, and getting
the action message printed using correct format.
2023-03-21 06:25:57 +00:00
Jari Matilainen
fe77b7e06f
Update /server syntax line
2022-09-12 14:07:05 +02:00
Ailin Nemui
4f1e5f35a3
fix formatting
2022-04-21 22:00:18 +02:00
Ailin Nemui
ba16d71e9f
add SERVER_ to constants
2022-04-21 22:00:18 +02:00
Valentin Lorentz
f684c18867
s/irctxt_/server_/
2022-04-21 22:00:18 +02:00
Valentin Lorentz
48571389c7
Revert "Add ERR_HELPNOTFOUND"
...
This reverts commit 91439c099e1bbf848dac03f67a3239fcc4c1f771;
because it adds handling for numeric 524, which conflicts with
ERR_QUARANTINED and ERR_OPERSPVERIFY.
2022-04-21 22:00:18 +02:00
Valentin Lorentz
41b3895ce3
Free signals
2022-04-21 22:00:18 +02:00
Valentin Lorentz
1415ef5389
Add ERR_HELPNOTFOUND
2022-04-21 22:00:18 +02:00
Valentin Lorentz
3a3301e19b
Format RPL_HELPSTART/RPL_HELPTXT/RPL_ENDOFHELP
...
They are typical replies when using the HELP command.
2022-04-21 22:00:18 +02:00
Ailin Nemui
7360944900
add new PUBNOTICES level
...
separating private notices and channel notices
2022-04-21 13:38:40 +02:00
Ailin Nemui
884cabd55d
restore irc bound queries
2022-03-16 00:02:29 +01:00
Ailin Nemui
883510a3fd
remove deprecated defines
...
- PERL_STATIC_LIBS (was not tested anymore)
- HAVE_GMODULE (always required)
- HAVE_STATIC_IRC
- HAVE_STATIC_PERL
- HAVE_SOCKS (was not working properly)
- USE_GREGEX (we use it)
2022-02-20 17:33:36 +01:00
Ailin Nemui
b8736225cf
good-bye and thanks, autotools
2022-02-19 21:44:10 +01:00
Ailin Nemui
9b73d152fe
use gint64 define
2022-02-19 00:34:06 +01:00
Ailin Nemui
2e6c376342
add android cross link deps
2022-02-16 21:49:11 +01:00
Ailin Nemui
89bcff606f
fix meson deprecations
2022-02-16 21:49:11 +01:00
Ailin Nemui
82f8ee57c3
autoload the IRC module
2022-02-16 21:49:11 +01:00
ailin-nemui
4432b0bf0d
Merge pull request #1170 from ailin-nemui/starttls
...
use starttls / enable tls_verify
2021-04-18 12:01:14 +02:00
ailin-nemui
f93879baff
Merge pull request #1260 from ailin-nemui/nohilight
...
add /IGNORE ... NOHILIGHT to ignore some hilights
2021-04-18 12:00:52 +02:00
Ailin Nemui
8a5d5d384e
add nocap flag
2021-04-08 22:38:44 +02:00
Ailin Nemui
085c08e65c
use enum
2021-04-08 21:55:35 +02:00
Ailin Nemui
244a8c72b4
verify tls connection
2021-04-08 21:55:35 +02:00
Ailin Nemui
9668217509
changes suggested by ahf
2021-04-08 21:55:35 +02:00
ailin-nemui
51508ff1d3
use starttls
2021-04-08 21:55:35 +02:00
Ailin Nemui
46493c051b
add /IGNORE ... NOHILIGHT to ignore some hilights
2021-04-07 14:31:36 +02:00
Ailin Nemui
b4ab8c1ada
missing strdup on netsplits w/o chan
2021-04-03 21:32:04 +02:00
ailin-nemui
437accdfa6
Merge pull request #1250 from ailin-nemui/whox
...
better account tracking
2021-04-01 21:27:51 +02:00
Ailin Nemui
53c91623c5
fix level uninitialised
...
Credit to OSS-Fuzz
2021-03-03 17:39:44 +01:00
Ailin Nemui
a0a9a82673
fix missing output
2021-02-26 14:19:33 +01:00
Ailin Nemui
dc87199100
better account tracking
2021-02-26 14:19:33 +01:00
Ailin Nemui
e7f3946583
configure automake with nostdinc
...
the current directoryh won't be added to the compiler's -I path
2021-02-02 00:24:34 +01:00
ailin-nemui
db9aa817d5
Merge pull request #1246 from ailin-nemui/wrong-prefixes
...
correct wrong function prefixes
Module authors will have to adapt these changes:
[M] 'constant I_INPUT_READ' {G_INPUT_READ}
[M] 'constant I_INPUT_WRITE' {G_INPUT_WRITE}
[M] 'function int i_input_add(GIOChannel*, int, GInputFunction, void*)' {g_input_add}
[M] 'function int i_input_add_full(GIOChannel*, int, int, GInputFunction, void*)' {g_input_add_full}
[M] 'function int i_input_add_poll(int, int, int, GInputFunction, void*)' {g_input_add_poll}
[M] 'function GIOChannel* i_io_channel_new(int)' {g_io_channel_new}
[M] 'function int i_io_channel_read_block(GIOChannel*, void*, int)' {g_io_channel_read_block}
[M] 'function int i_io_channel_write_block(GIOChannel*, void*, int)' {g_io_channel_write_block}
[M] 'function int i_istr_cmp(gconstpointer, gconstpointer)' {g_istr_cmp}
[M] 'function int i_istr_equal(gconstpointer, gconstpointer)' {g_istr_equal}
[M] 'function guint i_istr_hash(gconstpointer)' {g_istr_hash}
[M] 'function void i_log_func(const char*, GLogLevelFlags, const char*)' {glog_func}
[M] 'function GSList* i_slist_delete_string(GSList*, const char*, GDestroyNotify)' {gslist_delete_string}
[M] 'function GSList* i_slist_find_icase_string(GSList*, const char*)' {gslist_find_icase_string}
[M] 'function GSList* i_slist_find_string(GSList*, const char*)' {gslist_find_string}
[M] 'function void* i_slist_foreach_find(GSList*, FOREACH_FIND_FUNC, void*)' {gslist_foreach_find}
[M] 'function void i_slist_free_full(GSList*, GDestroyNotify)' {gslist_free_full}
[M] 'function GSList* i_slist_remove_string(GSList*, const char*)' {gslist_remove_string}
[M] 'function char* i_slist_to_string(GSList*, const char*)' {gslist_to_string}
2021-01-30 21:09:26 +01:00
Ailin Nemui
b5ddc55fe6
correct wrong function prefixes: gslist -> i_slist
2021-01-07 10:14:34 +01:00
Ailin Nemui
9181796472
correct wrong function prefixes: g_istr -> i_istr
2021-01-07 10:09:45 +01:00
Ailin Nemui
1f05f86167
package the meson.build files
2021-01-06 22:12:46 +01:00
Michael Hansen
214c7ad7da
make clang-format happy about the code i added, instead of the code above it.
...
modified: src/fe-common/irc/fe-events-numeric.c
2020-05-16 01:26:00 +02:00
Michael Hansen
451e3692b2
disable clang-format check for a few sections of code from before format strictnes got tightened
...
modified: src/fe-common/irc/fe-events-numeric.c
modified: src/fe-common/irc/module-formats.c
modified: src/fe-common/irc/module-formats.h
2020-05-16 01:20:22 +02:00
Michael Hansen
1fef8f82a5
make git-clang-format check happy
...
modified: src/fe-common/irc/fe-events-numeric.c
2020-05-16 01:00:17 +02:00
Michael Hansen
ae6c8a1bd5
Add better support for numeric 489 ERR_SECUREONLYCHAN along with a print format
...
modified: src/fe-common/irc/fe-events-numeric.c
modified: src/fe-common/irc/module-formats.c
modified: src/fe-common/irc/module-formats.h
2020-05-15 20:25:41 +02:00
ailin-nemui
8a446d24de
fix /ignore ... MODES NO_ACT not working
...
reported by letty
2020-04-02 15:47:15 +02:00
ailin-nemui
1cdb4bc311
remove GTimeVal following glib 2.61.2 deprecation
2019-12-06 10:56:25 +01:00
dequis
664c38afba
Fix some glib deprecation warnings
...
Most of these have been deprecated since forever (2.2), but they didn't
raise warnings. Now they do, and the warnings are not the most verbose
warnings you could ask for, but, they point in the right direction.
This doesn't handle the GTimeVal deprecation warnings. Those seem
trickier since they cover API, will look into those right after this.
2019-10-31 23:49:40 +01:00
Mike Quin
b7f165a609
Improve clarity of nick in use message
...
If irssi's preferred nick is in use irssi will issue a whois command and report some information
on the current user of the nick. As the "is owned by" wording can be confusing to users of networks
with nickname registration, propose rephrasing this to "is in use by".
2019-10-19 11:34:15 +01:00
ailin-nemui
145d1040ac
add ignore check, emphasis and fix a memory leak
2019-10-11 22:37:09 +02:00
Dan Collins
7e694fd223
Fix hilight behavior for STATUSMSG
...
This patch allows irc_op_public messages to properly trigger
hilights when the message mentions the current nick or one of our
hilights. This is done by copying the required code from
sig_message_public. This is important because Freenode has begun
using this message type for messages that can only be seen by ops
due to the +z channel mode, and ops will want to be notified of
watchwords even in that type of message.
To test, make two connections to Freenode, join a new channel. The
first client to join that channel will be an op. To establish a
baseline, use the non-opped client to attempt to "ping" the opped
client by addressing it by name and using terms in /hilight. Then,
set channel mode to +mz and use the non-opped client to send the
messages again. Without this patch, no message will "ping" the opped
client with +mz set. With this patch, "pings" should operate
normally, causing a bell, hilighting the window number, and so on.
What I don't know is whether there is any other code from
sig_message_public that should be copied over too. In particular,
the lines related to "ignore_check_plus", "emphasis", and
"printnick", I don't know if they are needed here. I also don't know
if there are any other message types that these changes should be
applied to.
2019-09-28 20:00:06 -04:00
ailin-nemui
b6f1bf8fcd
fix autotools build
2019-08-15 21:44:33 +02:00
ailin-nemui
44d480ca99
use account-notify capability
2019-08-15 17:30:38 +02:00