View Issue Details

IDProjectCategoryView StatusLast Update
0002649unrealircdpublic2007-04-19 02:24
ReporterAven Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionwont fix 
Product Version3.2-beta11 
Summary0002649: the "expiring gline"
DescriptionThis isn't really a bug, more of a request.

For the next version... can't you make Glines/klines/etc. not use seconds?

For example.

"***Expiring Gline set 65465 seconds ago"

can you please make it days or weeks instead? because it's kinda hard to figure out the math part ;P


Thanks!
3rd party modules

Activities

JasonTik

2005-10-01 10:55

reporter   ~0010545

Many people write mIRC scripts (or whatever client they use) to convert it for them. Perhaps you should write one (mIRC, look up $duration)

Aven

2005-10-01 10:57

reporter   ~0010546

eh... but I have no idea how :(

White_Magic

2005-10-06 17:13

reporter   ~0010553

Last edited: 2005-10-06 17:15

erm -> //echo -a $duration(65465) = 18hrs 11mins 5secs
the thing with mirc thou is, theres multiple ways a " seconds " can appear for example...

[quote]*** Expiring Gline set 65465 seconds ago

tkl update for *@203.170.74.90/reason=':Open proxy found on your host, please visit www.njabl.org/cgi-bin/lookup.cgi?query=203.170.74.90'/[email protected]/set=1128632762/expire=1128634562 [causedby: *.ChatUniverse.Net][/quote]

as u can see thats 2 of the many things that`ll need to be coded round. so hmm

White_Magic

2005-10-06 17:15

reporter   ~0010554

lol product version 3.2-beta11?
 oh my, ur far behind hm? - on a side note, i dont think the server should be doing this

aquanight

2005-10-08 00:58

reporter   ~0010560

Personally, I don't mess with server notices (as far as client-side interpretation goes) as far as formatting goes. The two times fields in the TKL-stats numeric, however, I would more likely try to interpret ;) .

Knippy

2005-10-16 13:53

reporter   ~0010590

You can use the prefix to set days, weeks, etc
/gline user 3d
Would set for 3 days
/gline user 3w
Would set for 3 weeks

Just plugin the number you want..

Aven

2005-10-16 14:33

reporter   ~0010591

Knippy: I know about that already :P

But even if I set it for 30 days.. It would show "Expiring gline set 2592000 seconds ago"

WolfSage

2007-04-18 19:09

reporter   ~0013553

Seems like handing back seconds makes it easier to do math against time stamps. I don't think this should be changed.

stskeeps

2007-04-19 02:24

reporter   ~0013575

If anyone wants a more readable, make a script for it. For reference, one hour is 3600 seconds, one minute is 60 seconds, a day is 86400, and it takes about 2 seconds for me to down a vodka shot.

Issue History

Date Modified Username Field Change
2005-09-28 20:21 Aven New Issue
2005-10-01 10:55 JasonTik Note Added: 0010545
2005-10-01 10:57 Aven Note Added: 0010546
2005-10-06 17:13 White_Magic Note Added: 0010553
2005-10-06 17:15 White_Magic Note Added: 0010554
2005-10-06 17:15 White_Magic Note Edited: 0010553
2005-10-06 17:15 White_Magic Note Edited: 0010553
2005-10-08 00:58 aquanight Note Added: 0010560
2005-10-16 13:53 Knippy Note Added: 0010590
2005-10-16 14:33 Aven Note Added: 0010591
2007-04-18 19:09 WolfSage Note Added: 0013553
2007-04-19 02:24 stskeeps Status new => closed
2007-04-19 02:24 stskeeps Note Added: 0013575
2007-04-19 02:24 stskeeps Resolution open => wont fix