summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2009-02-17 14:57:36 +0000
committerUrban Müller2009-02-17 14:57:36 +0000
commitddc6c74bd050334537808c2418d2246055716562 (patch)
treebb0acf73b3268e660acfd757f68308f253e45e68 /it.class
parentbe11fa008570326ca0ba76152cda1720934c3070 (diff)
downloaditools-ddc6c74bd050334537808c2418d2246055716562.tar.gz
itools-ddc6c74bd050334537808c2418d2246055716562.tar.bz2
itools-ddc6c74bd050334537808c2418d2246055716562.zip
send no mails from devel/twin, treat missing severtype.cfg as live
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 029f7e5..ee110dc 100644
--- a/it.class
+++ b/it.class
@@ -256,7 +256,7 @@ function bail($message = "Bailed.\n")
*/
function is_live()
{
- return (preg_match("/^live/", $GLOBALS['ULTRASERVERTYPE']) || EDC('aslive')) && !EDC('asdevel');
+ return (preg_match("/^live/", $GLOBALS['ULTRASERVERTYPE']) || !$GLOBALS['ULTRASERVERTYPE'] || EDC('aslive')) && !EDC('asdevel');
}