Skip to content

Commit 7bfc9e4

Browse files
authored
Update bot.php
1 parent e98c44c commit 7bfc9e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bot.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
exit();
2727
}
2828
if(strpos($text, "/start ") !== false){
29-
$inviter = str_replace("/start ", null, $text);
29+
$inviter = str_replace("/start ", "", $text);
3030

3131
if($uinfo->num_rows == 0 && $inviter != $from_id){
3232

@@ -5171,7 +5171,7 @@
51715171
sendMessage($msg);
51725172
}
51735173
if($step==55 and $text!=$cancelText){
5174-
if($text != "tcp" && $text != "ws" && $text != grpc){
5174+
if($text != "tcp" && $text != "ws" && $text != "grpc"){
51755175
sendMessage("لطفا فقط نوع (ws | tcp | grpc) را وارد کنید");
51765176
exit();
51775177
}

0 commit comments

Comments
 (0)