projects
/
PHP-P10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed Client.class.php (block timeouts) and some other bugs
[PHP-P10.git]
/
Bots
/
ModManager.class.php
diff --git
a/Bots/ModManager.class.php
b/Bots/ModManager.class.php
index 61ce790d970bb15335ac406a0f246875a4c85b9f..a83e0a8b1e2ac2837e7e8bac9322ef832c3302b7 100644
(file)
--- a/
Bots/ModManager.class.php
+++ b/
Bots/ModManager.class.php
@@
-85,6
+85,11
@@
class {$_NAME} extends Bot {
$this->uplink->privmsg($this->modman, $channel, "error.");
}
break;
$this->uplink->privmsg($this->modman, $channel, "error.");
}
break;
+ case "~list":
+ foreach(BotLoader::listBots() as $name => $bot) {
+ $this->uplink->privmsg($this->modman, $channel, $name);
+ }
+ break;
case "~debug":
$exp=explode(" ",$message,2);
ob_start();
case "~debug":
$exp=explode(" ",$message,2);
ob_start();