View Issue Details

IDProjectCategoryView StatusLast Update
0001840unrealircdpublic2005-02-27 17:34
Reporterniphler Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformix86OSSuSE Linux 8.1OS VersionUnrealIRCd 3.2
Product Version3.2 
Fixed in Version3.2.3 
Summary0001840: Restricted /samode-handling with Halfop
DescriptionWhen you are Halfop and you try to use /samode to halfop, dehalfop, op, deop, etc. the server replies "Halfops cannot set mode [mode]" and does not execute the command.
Steps To ReproduceGain Halfop privileges (I don't know if you have to be just a Halfop, but I think so) and try to change your status. I tried it with halfopping, dehalfopping, opping, deopping, ...
Additional Informationchannel.c says in line 1823,1824 (just before the "ugly halfop hack"):
  if (is_half_op(cptr, chptr) && !is_chan_op(cptr, chptr) && !IsULine(cptr)
  && !op_can_override(cptr))

If you change line 1824 to
  && !IsOper(cptr) && !op_can_override(cptr))
it works :)
TagsNo tags attached.
3rd party modules

Activities

syzop

2005-02-27 17:34

administrator   ~0009336

Fixed in .300 -- feel free to test.

Issue History

Date Modified Username Field Change
2004-05-30 11:44 niphler New Issue
2005-02-27 17:34 syzop Status new => resolved
2005-02-27 17:34 syzop Fixed in Version => 3.2.3
2005-02-27 17:34 syzop Resolution open => fixed
2005-02-27 17:34 syzop Assigned To => syzop
2005-02-27 17:34 syzop Note Added: 0009336