Indeed. Inlinepush hooks a native command (CONNECT). This is just an example. There is other way to do that.
For instance for the nickname module : - Don't hook connect cmd. - Add a new command (e.g. SETNICK) that set a "nick" property to the user - Seal the user to avoid him to execute any other command or receiv RAW until he didn't call "SETNICK" This task is up to the developper and that is why "nickname.js" is not part of APE and just in the "example" folder. Anthony. Sergey Dryganets a écrit : >> Good catch. >> >> Fixed ;) >> > > Thanks for quick fix. > > Any case I think it's bad design concept than one module can affect > behavior of another. > > So I think it should be fixed in another place too, because I can > develop my own module which can kill other modules/commands. > > I think that commands/modules should be isolated as much as possible. > > -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
