Skip to content

Commit

Permalink
bugfix: freeslots with >= iroffer-3.13
Browse files Browse the repository at this point in the history
reported by: Kurosaki
  • Loading branch information
cvs committed Oct 10, 2009
1 parent 0437c05 commit 18ba61c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iroffer-state.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#

$meta_generator = '
<meta name="generator" content="iroffer-state 2.13, iroffer.dinoex.net">
<meta name="generator" content="iroffer-state 2.14, iroffer.dinoex.net">
';

# IRC-Farbe-Codes ausblenden
Expand Down Expand Up @@ -525,7 +525,7 @@ function read_status( $statefile ) {
continue;
}

if ( ereg( '^ *[*]* [0-9]* packs ', $data ) ) {
if ( ereg( '^ *[*]* [0-9]* [Pp]acks ', $data ) ) {
$words = explode(' ', $data);

if ( !isset( $this->total[ 'freeslots' ] ) )
Expand Down

0 comments on commit 18ba61c

Please sign in to comment.