Age | Commit message (Collapse) | Author |
|
/me shouldn't behave differently from a regular message.
|
|
The new reference to the COMMANDS section at the beginning of the
manual would get matched instead.
|
|
Yikes, copy-paste fail.
|
|
Restrict mode will focus on sandboxing, while kiosk will continue
to restrict IRC access through a public kiosk. Kiosk mode without
restrict mode allows execution of man 1 catgirl with /help, assuming
external sandboxing.
The /list and /part commands are also added to the list of disabled
commands in kiosk mode, since they are pointless without access to
/join.
|
|
|
|
|
|
SHELL is an absolute path.
|
|
Split ignore fields and match each separately to avoid an early *
eagerly matching across several fields. For example, "* JOIN * *" should
not match messages which happen to contain the word "JOIN" followed by
two other words.
Ignore capacity is reduced to 64 to keep the size of the array the same.
I don't think it's an issue.
|
|
|
|
|
|
|
|
I'm not sure about that replies check in handleStandardReply. If more of
those are added the reply counter system will definitely need
refactoring.
|
|
While the automatic search via LESS is neat, I don't think it's very
useful. Just always open the manual to the COMMANDS section, and fix it
to append to LESS rather than replace it.
|
|
Accumulate names in a buffer and show away status.
|
|
It's pretty awkward with large channels since NAMES isn't sorted by
prefixes or anything... But having it accumulate names across many
replies would require more reworking.
|
|
I do not feel like documenting the 2-param form of /whois because it is
weird, but it should work for those who already know about it.
|
|
LibreSSL is "a modified version of that library".
|
|
Apparently IRCds have decided that the 15-parameter limit doesn't matter
anymore. 254 is the maximum number of single-byte parameters (following
a single-byte command) which fit in a 512-byte CR-LF-terminated line.
When everyone decides that the 512-byte line length limit doesn't matter
either, I will delete my software and people can use some JavaScript
garbage instead.
This makes struct Message 2080 bytes, but there's only ever one or two
of them around at once. Avoid passing it by value to handle.
|
|
Otherwise passing more than 13 parameters reads past the end of the
array.
|
|
https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
|
|
|
|
|
|
I'm sad to do this but I just can't stand writing (foo ? foo : bar)
anymore.
|
|
|
|
|
|
|
|
I can't live without it.
|
|
This collides with using /o for /open which I'm sad about, but I think
these commands should exist...
|
|
|
|
|
|
|
|
The default USERLEN of 9 doesn't have a great source, the RFC only says
that nicks are length 9, so my assumption is that usernames are not
longer.
|
|
|
|
|
|
|
|
Because the <debug> ID always exists, it's possible to create a window
for it even while restricted with "/window <debug>" and try to enter
commands there.
|
|
|
|
|
|
|
|
Haven't really gone through ui.c yet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Oof.
|
|
|
|
|