function badbehavior_init in Bad Behavior 6
Same name and namespace in other branches
- 5.2 badbehavior.module \badbehavior_init()
 - 6.2 badbehavior.module \badbehavior_init()
 - 7.2 badbehavior.module \badbehavior_init()
 
Implements hook_init().
File
- ./
badbehavior.module, line 66  
Code
function badbehavior_init() {
  if ($GLOBALS['user']->uid) {
    badbehavior_start_badbehavior();
  }
}