Skip to content
Browse files

minor typo fixed

  • Loading branch information...
1 parent 38a78ab commit c7234246446e1c589d2375b039c2b1fc4c25fb45 @perception101 committed Aug 8, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 ngircd_global
  2. +1 −1 ngircd_sessions
View
2 ngircd_global
@@ -93,7 +93,7 @@ if ($sock) {
} elseif ($bits['1'] == "266") {
// subtract 1 from global clients, because one of them is me
- print "globalclients.value ".strval(intval($bits['3']-1))."\n";
+ print "globalclients.value ".strval(intval($bits['3'])-1)."\n";
// and disconnect
fputs($sock, "QUIT :munin-ircd-monitoring\n");
View
2 ngircd_sessions
@@ -103,7 +103,7 @@ if ($sock) {
} elseif ($bits['1'] == "266") {
// subtract 1 from global clients, because one of them is me
- print "globalclients.value ".strval(intval($bits['3']-1))."\n";
+ print "globalclients.value ".strval(intval($bits['3'])-1)."\n";
// and disconnect
fputs($sock, "QUIT :munin-ircd-monitoring\n");

0 comments on commit c723424

Please sign in to comment.
Something went wrong with that request. Please try again.