[srvx-bugs] [ srvx-Bugs-831810 ] modcmd error binding aliases with multiple word names
Brought to you by:
entrope
From: SourceForge.net <no...@so...> - 2003-10-28 17:00:37
|
Bugs item #831810, was opened at 2003-10-28 17:00 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=403001&aid=831810&group_id=31654 Category: Miscellaneous Group: 1.2 Status: Open Resolution: None Priority: 5 Submitted By: Simon Arlott (byte-) Assigned to: Nobody/Anonymous (nobody) Summary: modcmd error binding aliases with multiple word names Initial Comment: When binding complex commands (aliases), there is an error in where the alias is copied from in the command the user gives: > ?bind opserv say *chanserv.say $1 > ?bind opserv tester\ say *chanserv.say $1 > ?bind opserv tester\ tester\ say *chanserv.say $1 > ?command say -OpServ- say is an alias for: *ChanServ.say $1 > ?command tester say -OpServ- tester say is an alias for: *ChanServ.say *chanserv.say $1 > ?command tester tester say -OpServ- tester tester say is an alias for: *ChanServ.say say *chanserv.say $1 The alias for all of these should be: "*ChanServ.say $1", but in the last two the alias part (after "*ChanServ.say") is copied from the wrong position, resulting in the wrong alias being created. The attached patch fixes this by using the correct starting position. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=403001&aid=831810&group_id=31654 |