Public paste
isOper function irc service
By: Arie | Date: Aug 21 2006 14:04 | Format: PHP | Expires: never | Size: 207 B | Hits: 1754

  1. private function isOper($numeric) {
  2.     $modes = $this->user[$numeric]['modes'];
  3.     if (is_numeric(strpos($modes, 'o')) || is_numeric(strpos($modes, 'k')))
  4.         return true;
  5.     else return false;
  6. }