Changeset 899 for trunk/Modules/Chat
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Chat/Chat.php
r894 r899 85 85 } 86 86 87 class ModuleChat extends AppModule87 class ModuleChat extends Module 88 88 { 89 89 function __construct(System $System) … … 93 93 $this->Version = '1.0'; 94 94 $this->Creator = 'Chronos'; 95 $this->License = 'GNU/GPL ';95 $this->License = 'GNU/GPLv3'; 96 96 $this->Description = 'Show history of IRC chat and previous SunriseChat'; 97 $this->Dependencies = array(); 98 } 99 100 function GetModels(): array 101 { 102 return array(ChatHistory::GetClassName()); 97 $this->Models = array(ChatHistory::GetClassName()); 103 98 } 104 99 … … 111 106 class ChatHistory extends Model 112 107 { 113 static function Get Desc(): ModelDesc108 static function GetModelDesc(): ModelDesc 114 109 { 115 110 $Desc = new ModelDesc(self::GetClassName()); … … 121 116 $Desc->AddInteger('RoomType'); 122 117 $Desc->AddString('Host'); 123 118 return $Desc; 124 119 } 125 120 }
Note:
See TracChangeset
for help on using the changeset viewer.