aboutsummaryrefslogtreecommitdiffstats
path: root/mod/regmod.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/regmod.php')
-rw-r--r--mod/regmod.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/regmod.php b/mod/regmod.php
index 373180ba2..49a719493 100644
--- a/mod/regmod.php
+++ b/mod/regmod.php
@@ -29,7 +29,7 @@ function regmod_content(&$a) {
intval($register[0]['uid'])
);
- if($cmd == 'deny') {
+ if($cmd === 'deny') {
$r = q("DELETE FROM `user` WHERE `uid` = %d LIMIT 1",
intval($register[0]['uid'])
@@ -49,7 +49,7 @@ function regmod_content(&$a) {
}
- if($cmd == 'allow') {
+ if($cmd === 'allow') {
if(! count($user))
killme();