Commit 576139d5 authored by Nigel Kukard's avatar Nigel Kukard

Fixed comments

parent 706fa1e3
# Utility functions # Utility functions
# Copyright (C) 2008-2014, AllWorldIT # Copyright (C) 2008-2016, AllWorldIT
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
...@@ -373,7 +373,7 @@ sub isBoolean ...@@ -373,7 +373,7 @@ sub isBoolean
# Nuke whitespaces # Nuke whitespaces
$var =~ s/\s//g; $var =~ s/\s//g;
# Allow true, on, set, enabled, 1, false, off, unset, disabled, 0 # Allow true, on, set, enabled, yes, 1, false, off, unset, disabled, no, 0
if ($var =~ /^(?:true|on|set|enabled|yes|1)$/i) { if ($var =~ /^(?:true|on|set|enabled|yes|1)$/i) {
return 1; return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment