Giter Club home page Giter Club logo

Comments (10)

HelixSpiral avatar HelixSpiral commented on May 17, 2024

This command is not formally defined by an RFC, but is supported by most major IRC daemons.

Since this is not defined by a standard I don't think it should be added. Maybe we could write up a spec and send it to http://ircv3.org/.

Until then, if you want this command you can always do /alias knock quote knock and it will function as expected.

from weechat.

Mikaela avatar Mikaela commented on May 17, 2024

Freenode isn't following RFC so much either…

from weechat.

HelixSpiral avatar HelixSpiral commented on May 17, 2024

@Mkaysi I know, but waiting for a formal spec to be written and then implementing that means less work, cleaner code, and fewer issues once finished.

That being said, KNOCK does currently work in weechat. It doesn't doesn't do anything special for it, and it shouldn't, because the numerics used are different depending on who is implementing it and some ircds don't use numerics at all, and instead use notices.

Edit :: Also, one thing I've liked about weechat is that it doesn't seem to try to add things that don't have a spec written. Like WATCH, this was never implemented and weechat instead used /ison by default until MONITOR was implemented.

from weechat.

 avatar commented on May 17, 2024

EDITED (2014-03-09 10:32 UTC)

I've been thinking about it, and I don't think /knock actually should be supported in the current form.
Other clients don't seem to handle it nicely, even if they have the command. I don't think it's used very often, either.

However, it not being standard alone isn't a reason not to implement it (consider /sajoin and quiet lists).

from weechat.

HelixSpiral avatar HelixSpiral commented on May 17, 2024

sajoin doesn't have numerics associated with it, and it doesn't have multiple different implementations.

I'm not against implementing knock, but there are several different implementations of it. Some ircds use a notice, others use a numeric, and some use both. Even the command changes depending on which ircd you are using. Some are KNOCK #chan :message and others are just KNOCK #chan

There is effort going into an ircv3.2 spec to standardize this. This will make it easier for clients to implement it, and until then I don't think it should be added.

from weechat.

AlexisEvo avatar AlexisEvo commented on May 17, 2024

I think it should be implemented. I understand the thought process of not wanting to do so because it isn't standardized, but I'd argue against that. Usability should be prioritized. Every major network I've had to use KNOCK on implements it, and most clients I've used have implemented it. If almost every other service/client is supporting it, why should we not? I feel like "stick to the spec" is the improper approach to handle IRC, because no major network or client sticks 100% to the spec.

And yes, people really do use /knock. I just had to, which is when I found out weechat doesn't support it :/.

from weechat.

flashcode avatar flashcode commented on May 17, 2024

I reopen the issue.
@shawn-smith : please ping me when KNOCK will be part of ircv3.x spec.

from weechat.

jeffreyroberts avatar jeffreyroberts commented on May 17, 2024

I need knock as well, is there a way to quote raw commands to the server?

from weechat.

weechatter avatar weechatter commented on May 17, 2024

yes, with /quote or use /set irc.network.send_unknown_commands

/alias add knock /quote knock $1

from weechat.

jeffreyroberts avatar jeffreyroberts commented on May 17, 2024

from weechat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.