View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002649 | unreal | ircd | public | 2005-09-28 20:21 | 2007-04-19 02:24 |
| Reporter | Aven | Assigned To | |||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | wont fix | ||
| Product Version | 3.2-beta11 | ||||
| Summary | 0002649: the "expiring gline" | ||||
| Description | This 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 | |||||
|
|
Many people write mIRC scripts (or whatever client they use) to convert it for them. Perhaps you should write one (mIRC, look up $duration) |
|
|
eh... but I have no idea how :( |
|
|
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 |
|
|
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 |
|
|
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 ;) . |
|
|
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.. |
|
|
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" |
|
|
Seems like handing back seconds makes it easier to do math against time stamps. I don't think this should be changed. |
|
|
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. |
| 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 |
|
Status | new => closed |
| 2007-04-19 02:24 |
|
Note Added: 0013575 | |
| 2007-04-19 02:24 |
|
Resolution | open => wont fix |