Feature #572

avatar

Target parameter for /mode

Added by Joel Roth 5012 days ago. Updated 4197 days ago.

Status:Closed Start:03/02/2011
Priority:High Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Engine IRC
Target version:0.9 Estimated time:0.50 hours
Complexity:

Low

Votes: 1 (View)

Description

Sometimes we want to use /mode in a window that we aren't necessarily interacting with in-window.

I suggest:
If the first parameter if /mode starts with a #, apply it to the channel specified.
If the first parameter starts with anything that isn't + or -, apply it to a user. On any IRCd I've used it can be used to view, not set but InspIRCd at least gives you a message such as:

Can't change mode for other users

So some might be able to use it on other users instead of /samode.

Currently, the behaviour is to apply everything to either yourself, or the channel you're in. If we're setting a mode, we're going to be using + or - anyway.

Associated revisions

Revision 66918c9c67e4aaa350c16e42892035d99d874c72
Added by Mirco Bauer 4197 days ago

[Engine-IRC] Take optional target parameter for /mode command (closes: #572)

History

Updated by Mirco Bauer 4328 days ago

avatar
  • Target version set to 0.9

Updated by Mirco Bauer 4328 days ago

avatar
  • % Done changed from 0 to 100

Updated by Mirco Bauer 4197 days ago

avatar
  • Priority changed from Normal to High

Updated by Mirco Bauer 4197 days ago

avatar
  • Status changed from New to Closed

Also available in: Atom PDF