Changeset 84
- Timestamp:
- 02/28/08 00:27:18 (9 months ago)
- Files:
-
- trunk/Phergie/Event/Request.php (modified) (3 diffs)
- trunk/Phergie/Plugin/Acronym.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Phergie/Event/Request.php
r83 r84 111 111 112 112 self::TYPE_MODE => array( 113 ' channel|nickname'=> 0,114 'mode' => 1,115 'limit' => 2,116 'user' => 3,117 'ban mask' => 4113 'target' => 0, 114 'mode' => 1, 115 'limit' => 2, 116 'user' => 3, 117 'banmask' => 4 118 118 ), 119 119 … … 134 134 135 135 self::TYPE_ACTION => array( 136 'action' => 0 136 'target' => 0, 137 'action' => 1 137 138 ) 138 139 ); … … 306 307 if (isset(self::$map[$this->type][$argument]) 307 308 && isset($this->arguments[self::$map[$this->type][$argument]])) { 308 echo 'returning ' . $this->arguments[self::$map[$this->type][$argument]] . "\n";309 309 return $this->arguments[self::$map[$this->type][$argument]]; 310 310 } trunk/Phergie/Plugin/Acronym.php
r78 r84 121 121 { 122 122 $target = $this->event->getSource(); 123 $message = $this->event->getArgument(1); 123 //$message = $this->event->getArgument(1); 124 $message = $this->event->getText(); 124 125 125 126 // Matches an optional "Nick: " followed by an acronym formatted as A.B.C. or ABC