ircv3-ideas
ircv3-ideas copied to clipboard
IGNORE command
It would be nice to have an IGNORE
command within the IRC protocol, to block messages from specified nicks. This way the clientside ignoring commands would become unnecessary. Also it would make things easier for people who often work from different clients.
I would suggest a command like:
/ignore nick(!user)?(@host)?
user and host are optional and wildcard use should be possible (similar to the ban
command)
InspIRCd already supports something like this: /SILENCE [+|-]<mask> <flags>
I think UnrealIRCd might also support this albeit without the flags.
But like you said, currently it's depending on the used IRCd and therefore such a functionality is not guaranteed nor it's the same on all IRCds. For users who are not as familiar with the IRC ecosystem it's hard to check which IRCd is running and which command is needed. A protocol-wide command would strike-out this problem
There’s already an ISUPPORT token to indicate SILENCE support so clients can automatically detect it for their users and present a UI rather than them having to know about it directly. https://tools.ietf.org/html/draft-hardy-irc-isupport-00#section-4.17
It’s probably worth getting some proper documentation of the command standardised though.
Is this already part of the protocol itself, or is it still a draft?
Most things in IRC are still drafts, including the original RFCs. ISUPPORT is one of the more widely supported drafts, so yeah it's pretty reliable.
Does somebody know where exactly the SILENCE
/ IGNORE
command is defined?
@derfalx there's no cross-platform definition but here's the InspIRCd one: https://github.com/inspircd/inspircd/blob/master/docs/conf/helpop-full.conf.example#L121
And the Unreal definition: https://github.com/unrealircd/unrealircd/blob/unreal40/doc/conf/help/help.conf#L717
Doesn't include numerics and etc, but running tests against running insp/unreal servers (or looking at the source code) should reveal those.
Thanks @DanielOaks. But wouldn't it then be nice to standardize these commands? The base ISUPPORT
token could be used to build upon.
This should definitely be /SILENCE
not /IGNORE
to avoid command-clash between client-side and server-side commands
some IRC clients already implement the /ignore command. mIRC and hexchat know, I do.
It would be nice if it was part of the server/client spec and stored server side so your ignores were respected between clients.