Anope Bug Tracker - Anope Stable (2.0.x series)
View Issue Details
0001642Anope Stable (2.0.x series)[All Projects] Generalpublic2015-03-08 00:542015-03-12 14:16
NoMiaus 
Adam 
normalfeaturealways
resolvedfixed 
0001642: Expiry option of BAN command doesn't work with the nick syntax
The expiry option of BAN command doesn't work when a nick is used instead of a mask.
/msg BAN #Channel +10s Nick Reason: Nick is banned but the ban isn't removed after 10 seconds.
/msg BAN #Channel +10s Nick!*@* Reason: Nick is banned and the ban is removed after 10 seconds.
/msg BAN #Channel +10s Nick Reason
No tags attached.
Issue History
2015-03-08 00:54NoMiausNew Issue
2015-03-08 14:09chazNote Added: 0006701
2015-03-08 15:03NoMiausNote Added: 0006703
2015-03-08 15:03NoMiausNote Edited: 0006703bug_revision_view_page.php?bugnote_id=6703#r171
2015-03-08 15:03NoMiausNote Edited: 0006703bug_revision_view_page.php?bugnote_id=6703#r172
2015-03-08 15:06NoMiausNote Edited: 0006703bug_revision_view_page.php?bugnote_id=6703#r173
2015-03-08 15:17NoMiausNote Edited: 0006703bug_revision_view_page.php?bugnote_id=6703#r174
2015-03-08 15:21NoMiausNote Edited: 0006703bug_revision_view_page.php?bugnote_id=6703#r175
2015-03-12 14:16AdamNote Added: 0006715
2015-03-12 14:16AdamStatusnew => resolved
2015-03-12 14:16AdamResolutionopen => fixed
2015-03-12 14:16AdamAssigned To => Adam

Notes
(0006715)
Adam   
2015-03-12 14:16   
Fixed in c3cc5804c32f423d4017a825300d926895ef64ed
(0006703)
NoMiaus   
2015-03-08 15:03   
(edited on: 2015-03-08 15:21)
I'm using UnrealIRCd 3.2.10.4. I checked it again: it happens when the nick isn't online so ChanServ sets a permanent ban to the nick. When the nick is connect on the network ChanServ sets a ban to the host, kicks and then removes the ban correctly. Anyway services answer: Ban on Nick1 expires in 10 seconds. Is it that how it should work?

Debug: Sent: :ChanServ PRIVMSG #services :COMMAND: NoMiaus!Me@xxxxxxxxx (NoMiaus) used BAN on #Test for Nick1
Debug: Sent: :ChanServ NOTICE NoMiaus :Ban on Nick1 expires in 10 seconds.
Debug: Sent: :ChanServ NOTICE NoMiaus :No users on #Test match Nick1.
Debug: Sent: :[DarkSide] MODE #Test +b Nick1!*@*

PS: When I ran the debug mode I noticed Anope shows 100 messages like this: [Mar 08 13:50:33.314106 2015] Extend for nonexistent type BS_DONTKICKOPS on 0x5084ec8.

(0006701)
chaz   
2015-03-08 14:09   
Hello,

I attempted to reproduce this and it seemed to work fine for me. (tested on InspIRCd)

Can you confirm that when you did try and use it against 'nick' that it infact resolved this down to the host?

What IRCd are you using?

Can you provide debug logs?