mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Reject obviously invalid numbers in /set.
A limitation of the settings model is that any value that fits in an int is accepted, e.g. negative port numbers. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5017 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4ea8f3141e
commit
115a7fc355
3 changed files with 25 additions and 3 deletions
|
|
@ -215,6 +215,7 @@ FORMAT_REC fecommon_core_formats[] = {
|
|||
{ "chan_not_synced", "Channel not fully synchronized yet, try again after a while", 0 },
|
||||
{ "illegal_proto", "Command isn't designed for the chat protocol of the active server", 0 },
|
||||
{ "not_good_idea", "Doing this is not a good idea. Add -YES option to command if you really mean it", 0 },
|
||||
{ "invalid_number", "Invalid number", 0 },
|
||||
{ "invalid_time", "Invalid timestamp", 0 },
|
||||
{ "invalid_level", "Invalid message level", 0 },
|
||||
{ "invalid_size", "Invalid size", 0 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue