Initial import.

This commit is contained in:
Jan Philipp Timme
2010-11-21 22:13:54 +00:00
parent 85f7da38b6
commit 6b39d44754
52 changed files with 1395 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
#BOT_INCLUDE "password" "query" "0"
/*
* This file contains code for the query-based user-command "password"
*/
include("#BOT_PATHuser.query.inc.php");
if($this -> userdb -> isActive($nick)){
$this -> userdb -> updatePW($nick, $pw);
$this -> call("notice", $nick, "Your new pw is now: ".$pw);
}
else{
$this -> call("notice", $nick, "You are not identified. Type /msg ".$this -> nick." identify <password> in order to identify yourself");
}
?>