Initial import.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
#BOT_INCLUDE "identify" "query" "0"
|
||||
|
||||
/*
|
||||
* This file contains code for the query-based user-command "identify"
|
||||
*/
|
||||
|
||||
include("#BOT_PATHuser.query.inc.php");
|
||||
if($this -> userdb -> checkPw($nick, $pw)){
|
||||
$this -> userdb -> update($nick);
|
||||
$this -> call("notice", $nick, "You are now identified.");
|
||||
}
|
||||
else{
|
||||
$this -> call("notice", $nick, "Wrong password or you have no account with this nickname.");
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user