|  | @@ 69-73 (lines=5) @@ | 
                                                            
                                    | 66 |  |     { | 
                                                            
                                    | 67 |  |         $message = $this->template->getMessage(); | 
                                                            
                                    | 68 |  |  | 
                                                            
                                    | 69 |  |         if (empty($message->getUsername()) | 
                                                            
                                    | 70 |  |             && !empty($this->config['templates'][$this->template->getConfigIndex()]['username']) | 
                                                            
                                    | 71 |  |         ) { | 
                                                            
                                    | 72 |  |             $message->setUsername($this->config['templates'][$this->template->getConfigIndex()]['username']); | 
                                                            
                                    | 73 |  |         } | 
                                                            
                                    | 74 |  |  | 
                                                            
                                    | 75 |  |         if (empty($message->getChannel()) | 
                                                            
                                    | 76 |  |             && !empty($this->config['templates'][$this->template->getConfigIndex()]['channel']) | 
                                                                                
                                |  | @@ 75-79 (lines=5) @@ | 
                                                            
                                    | 72 |  |             $message->setUsername($this->config['templates'][$this->template->getConfigIndex()]['username']); | 
                                                            
                                    | 73 |  |         } | 
                                                            
                                    | 74 |  |  | 
                                                            
                                    | 75 |  |         if (empty($message->getChannel()) | 
                                                            
                                    | 76 |  |             && !empty($this->config['templates'][$this->template->getConfigIndex()]['channel']) | 
                                                            
                                    | 77 |  |         ) { | 
                                                            
                                    | 78 |  |             $message->setChannel($this->config['templates'][$this->template->getConfigIndex()]['channel']); | 
                                                            
                                    | 79 |  |         } | 
                                                            
                                    | 80 |  |  | 
                                                            
                                    | 81 |  |         if (empty($message->getIconUrl()) | 
                                                            
                                    | 82 |  |             && !empty($this->config['templates'][$this->template->getConfigIndex()]['icon']) | 
                                                                                
                                |  | @@ 81-85 (lines=5) @@ | 
                                                            
                                    | 78 |  |             $message->setChannel($this->config['templates'][$this->template->getConfigIndex()]['channel']); | 
                                                            
                                    | 79 |  |         } | 
                                                            
                                    | 80 |  |  | 
                                                            
                                    | 81 |  |         if (empty($message->getIconUrl()) | 
                                                            
                                    | 82 |  |             && !empty($this->config['templates'][$this->template->getConfigIndex()]['icon']) | 
                                                            
                                    | 83 |  |         ) { | 
                                                            
                                    | 84 |  |             $message->setIconUrl($this->config['templates'][$this->template->getConfigIndex()]['icon']); | 
                                                            
                                    | 85 |  |         } | 
                                                            
                                    | 86 |  |  | 
                                                            
                                    | 87 |  |         return $message; | 
                                                            
                                    | 88 |  |     } |