|
Revision 20, 398 bytes
(checked in by Seldaek, 5 years ago)
|
|
+ added cron abstract class
+ added JoinPart? that handles join/part #chan
+ added RSSParser plugin, although a small feature is still missing (see TODO tag), it seems to be stable
+ documented phergie.ini (feel free to change doc format though, it's just a proposal)
* get/setIni are now case insensitive (modifies Client, AdminCommand? and Quit)
* small modification in Autojoin for consistency with other ini-"lists" which can all be separated by a comma or a space
* fix in Daddy (debug data was left)
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | require_once 'Phergie/Event/Handler/AdminCommand.php'; |
|---|
| 7 | |
|---|
| 8 | class Phergie_Event_Handler_Quit extends Phergie_Event_Handler_AdminCommand |
|---|
| 9 | { |
|---|
| 10 | public function onPrivmsg(Phergie_Event_Request $event) |
|---|
| 11 | { |
|---|
| 12 | if($event->getArgument(1)=='quit' && $this->isAdmin($event)) { |
|---|
| 13 | $this->doQuit('by request of ' . $event->getNick()); |
|---|
| 14 | } |
|---|
| 15 | } |
|---|
| 16 | } |
|---|