Index: trunk/extensions/CheckUser/api/ApiQueryCheckUser.php |
— | — | @@ -140,6 +140,7 @@ |
141 | 141 | if ( IP::isIPAddress( $target ) && isset( $xff ) ) { |
142 | 142 | $cond = CheckUser::getIpConds( $db, $target, true ); |
143 | 143 | $this->addWhere( $cond ); |
| 144 | + $log_type = 'ipusersxff'; |
144 | 145 | } elseif ( IP::isIPAddress( $target ) ) { |
145 | 146 | $cond = CheckUser::getIpConds( $db, $target ); |
146 | 147 | $this->addWhere( $cond ); |
— | — | @@ -275,4 +276,4 @@ |
276 | 277 | public function getVersion() { |
277 | 278 | return __CLASS__ . ': $Id$'; |
278 | 279 | } |
279 | | -} |
\ No newline at end of file |
| 280 | +} |