Assembla home | Assembla project page
 

Changeset 123

Show
Ignore:
Timestamp:
03/05/08 02:23:33 (9 months ago)
Author:
Seldaek
Message:

* Toggle: changed getInstance to getPlugin

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Phergie/Plugin/Toggle.php

    r82 r123  
    3333    public function onDoMute($plugin) 
    3434    { 
    35         if ($instance = $this->getInstance($plugin)) { 
     35        if ($instance = $this->getPlugin($plugin)) { 
    3636                $instance->muted = true; 
    3737                $this->doPrivmsg($this->event->getSource(), 'Muted '.$plugin.'.'); 
     
    4343    public function onDoUnmute($plugin) 
    4444    { 
    45         if ($instance = $this->getInstance($plugin)) { 
     45        if ($instance = $this->getPlugin($plugin)) { 
    4646                $instance->muted = false; 
    4747                $this->doPrivmsg($this->event->getSource(), 'Unmuted '.$plugin.'.');