modules/doctor.php
changeset 52 a8f0e99883d1
parent 24 6fa9346a9bdc
equal deleted inserted replaced
51:508400fc5282 52:a8f0e99883d1
    31 {
    31 {
    32   global $doctor;
    32   global $doctor;
    33   
    33   
    34   if ( isset($doctor[$message['nick']]) && $message['message'] != '!doctor' )
    34   if ( isset($doctor[$message['nick']]) && $message['message'] != '!doctor' )
    35   {
    35   {
    36     $chan->msg(eb_censor_words($doctor[$message['nick']]->listen($message['message'])));
    36     $chan->msg(eb_censor_words("{$message['nick']}: " . $doctor[$message['nick']]->listen($message['message'])));
    37   }
    37   }
    38 }
    38 }
    39 
    39 
    40 function doctor_greet(&$append)
    40 function doctor_greet(&$append)
    41 {
    41 {