View Issue Details

IDProjectCategoryView StatusLast Update
0003917unrealircdpublic2020-09-18 20:52
Reporterfm Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status confirmedResolutionopen 
PlatformLinuxOSDebianOS Version5.0
Product Version3.2.8 
Summary0003917: set::modes-on-oper doesn't support negative/removing modes
Descriptionhello,

for set::modes-on-oper the combination of adding AND removing several usermodes doesn't work.
Steps To Reproducei combined module privdeaf with unreal3.2.8.1.
first i set in unrealircd.conf set::modes-on-connect +D.
the setting for set::modes-on-oper are +xwWgs-D.
on doing /oper I get operator status, but ircd doesn't remove umode D (combining + and - in set::modes-on-oper doesn't work).
TagsNo tags attached.
3rd party modulesprivdeaf

Relationships

has duplicate 0005748 closedsyzop set::modes-on-oper doesn't support removing modes 

Activities

ohnobinki

2010-07-14 00:38

reporter   ~0016148

Negative modes in modes-on-oper don't work at all. The following should fail as well:
set::modes-on-oper "-D";

ivanp

2020-09-01 20:34

reporter   ~0021734

10 years later, still experiencing the same problem in version 5.0.5.1.

It would be nice to fix it ;)

For example, using the following conf, on /OPER it should remove R mode, but it doesn't:

modes-on-connect "+RTwixG";
modes-on-oper "-R";

Lord255

2020-09-18 20:52

reporter   ~0021745

https://www.unrealircd.org/docs/Set_block#set::modes-on-oper
   Syntax: set::modes-on-oper <+modes>
   The modes that will be set on a user when they /oper.


it say's +modes, no +/-modes.

so.. idk. feature request? but not bug.
unless the coding just fails.. idk.

-----
also: https://www.unrealircd.org/docs/Oper_block
did you guys try the -mode in the operblock ?

Issue History

Date Modified Username Field Change
2010-07-09 09:18 fm New Issue
2010-07-09 09:18 fm 3rd party modules => privdeaf
2010-07-14 00:38 ohnobinki Note Added: 0016148
2010-07-14 00:38 ohnobinki Status new => confirmed
2010-07-14 00:39 ohnobinki QA => Not touched yet by developer
2010-07-14 00:39 ohnobinki U4: Need for upstream patch => No need for upstream InspIRCd patch
2010-07-14 00:39 ohnobinki U4: Upstream notification of bug => Not decided
2010-07-14 00:39 ohnobinki U4: Contributor working on this => None
2010-07-14 00:39 ohnobinki Summary multiple mode setting set::modes-on-oper => set::modes-on-oper doesn't support negative/removing modes
2015-08-08 17:52 syzop Severity minor => feature
2020-09-01 20:31 syzop Relationship added has duplicate 0005748
2020-09-01 20:34 ivanp Note Added: 0021734
2020-09-18 20:52 Lord255 Note Added: 0021745