Quote:
Originally Posted by Old and Slow
sm_addban 0 [U:1:9999999] works
sm_addban 0 [U:1:9999999] "reason for ban" works
sm_addban [U:1:9999999] does not work
|
Because time is not an optional parameter, either set it in the amount of minutes or 0 for permanent.
Quote:
Originally Posted by Old and Slow
|
Looking at the code repository for basebans, e.g.
this link showing the code in March 2008, it appears that the time was also mandatory then.
Looking as sm_banip also have been "time ip reason" forever, while also being documented correctly, I would say it is safe to assume that it has been a mistake made while documenting it on the Wiki.
__________________