View Issue Details

IDProjectCategoryView StatusLast Update
0001213Anope Stable (1.8.x series)ChanServpublic2010-12-15 19:49
Reporterkatsklaw Assigned ToAdam  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86OSDebian 
Summary0001213: CS ENFORCE proceeds with WHAT as NULL instead of returning proper syntax
Descriptionwhat being a required value. giving an unknown value returns proper syntax notice. ChanServ will enforce NULL if no value for what is specified instead of returning proper syntax.

Anope-1.8.2 (2369) services.irc UnrealIRCd 3.2.x - M (enc_md5) -- build 0000001, compiled Jun 6 2010 01:19:31
Steps To Reproducetype: /cs enforce #Channel

.:10:27:. -> Server: cs enforce #devel
.:10:27:. -ChanServ- Enforced (null)
.:10:27:. -> Server: cs enforce #devel all
.:10:27:. -ChanServ- Syntax: ENFORCE channel [what]
Additional InformationYou guys sure ask a lot of questions! ;P

Version: Anope-1.8.5 (3037) services.irc UnrealIRCd 3.2.x - M (enc_md5) -- build 0000001, compiled Dec 15 2010 16:39:25
TagsNo tags attached.

Activities

Adam

2010-12-15 19:49

administrator   ~0005687

Thanks, fixed in commit 13688c595bd11c3a4a093bc82a7d5f2733640abb.

katsklaw

2010-12-15 19:03

reporter   ~0005684

ok after looking at the src, what isn't required but if it's not specified, what defaults to SET, in either case it shouldn't return NULL.

katsklaw

2010-12-15 18:49

reporter   ~0005683

2 different versions given, reproduced on both.

Issue History

Date Modified Username Field Change
2010-12-15 18:47 katsklaw New Issue
2010-12-15 18:49 katsklaw Note Added: 0005683
2010-12-15 19:03 katsklaw Note Added: 0005684
2010-12-15 19:49 Adam Note Added: 0005687
2010-12-15 19:49 Adam Status new => resolved
2010-12-15 19:49 Adam Resolution open => fixed
2010-12-15 19:49 Adam Assigned To => Adam