View Issue Details

IDProjectCategoryView StatusLast Update
0003687unrealircdpublic2009-07-23 17:59
ReporterVeovis Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwont fix 
Product Version3.2.7 
Summary0003687: umode2 command can handle parv[3] but not parv[2]
DescriptionI use often umode2 command as a normal user ant I remarked that I can't set specific snomasks with it (except default snomask with +/-s).

After examinated the code, I remark a useless (I think) piece of code as this :
"parv0 umode2 parv1 parv2 parv3" is transformed as this : "parv0 mode parv0 parv1 parv3"

I don't the meaning of this parv3 parameter.
So I modified this comportment so the line become now "parv0 mode parv0 parv1 parv2"
Steps To Reproduce"/umode2 +s +something" is equivalent to "/umode2 +s SNO_DEFUSER" if normal user or "/umode2 +s SNO_OPER" if oper;
Attached Files
m_umode2.patch (618 bytes)
3rd party modules

Activities

Stealth

2008-05-01 03:28

reporter   ~0015287

umode2 was not designed to handle snomasks.

Stealth

2009-07-23 17:59

reporter   ~0015888

UMODE2 was not designed to be used by users, so therefore it is not designed to be used with SNOMASKs.

I do have a module that adds a UMODE commands meant for users to use, and if you would like it contact me on IRC or the forums.

Issue History

Date Modified Username Field Change
2008-04-30 10:01 Veovis New Issue
2008-04-30 10:01 Veovis File Added: m_umode2.patch
2008-05-01 03:28 Stealth Note Added: 0015287
2009-07-23 17:59 Stealth QA => Not touched yet by developer
2009-07-23 17:59 Stealth U4: Need for upstream patch => No need for upstream InspIRCd patch
2009-07-23 17:59 Stealth Note Added: 0015888
2009-07-23 17:59 Stealth Status new => closed
2009-07-23 17:59 Stealth Resolution open => wont fix