View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006105 | unreal | ircd | public | 2022-05-18 22:48 | 2023-03-21 13:55 |
Reporter | PeGaSuS | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Linux | OS | Ubuntu | OS Version | 20.04 |
Product Version | 6.0.3 | ||||
Summary | 0006105: GLINE always assume 2nd argument as reason, if no reason is specified. | ||||
Description | Example:/gline *@123.123.123.123 12h is converted into G-Line added: '*@123.123.123' [reason: 12h] [by: James!WeeChat@PTirc/Staff/James] [duration: permanent] Opening this bug due to: <@DALEK> not sure if bug <@DALEK> [16:38:05] -irc.valware.uk- [info] G-Line added: '*@test' [reason: +12h] [by: Valware!valware@valware.uk] [duration: permanent] <@DALEK> permanent with reason +12h lol <@westor> DALEK: what you typed? <@DALEK> /gline nick +12h Cheers! | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
Going by helpop, it should be noted that for /GLINE, "time" is optional and "reason" is not: Syntax: GLINE <user@host mask or nick> [time] <reason> |
|
Adding some thoughts to this: - If 2nd arg is an integer, assume duration with default reason - If 2nd arg isn't an integer assume reason with permanent duration |