diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/createsim.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/createsim.php b/scripts/createsim.php index 71ed3bf72..1266a9700 100644 --- a/scripts/createsim.php +++ b/scripts/createsim.php @@ -101,7 +101,7 @@ function newSub($i) $to = User::staticGet('nickname', $tunic); - if (empty($from)) { + if (empty($to)) { throw new Exception("Can't find user '$tunic'."); } |