summaryrefslogtreecommitdiff
path: root/scripts/createsim.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/createsim.php')
-rw-r--r--scripts/createsim.php2
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'.");
}