@@ -133,7 +133,7 @@ |
||
| 133 | 133 | 'motd' => array( |
| 134 | 134 | 'keyID' => '', //char api keyID (Must have channel on api and mod rights on the char) |
| 135 | 135 | 'vCode' => '', //char api vCode |
| 136 | - 'characterID' => , //ID Of the character with mod rights to the channel, can get this from zkill, look up your char and its /character/#### is your char ID |
|
| 136 | + 'characterID' =>, //ID Of the character with mod rights to the channel, can get this from zkill, look up your char and its /character/#### is your char ID |
|
| 137 | 137 | 'channelname' => '', //name of channel you are requesting, must be IDENTICAL |
| 138 | 138 | ), |
| 139 | 139 | // what channel for eve notifications/also the channel for tq status alerts |
@@ -130,7 +130,7 @@ |
||
| 130 | 130 | //Check if killmail meets minimum value and if it meets lost minimum value |
| 131 | 131 | if (isset($kmGroup['minimumValue']) && isset($kmGroup['minimumlossValue'])) { |
| 132 | 132 | if ($rawValue < $kmGroup['minimumValue']) { |
| 133 | - if ($kill['victim']['corporationID'] == $kmGroup['corpID'] && $rawValue > $kmGroup['minimumlossValue']|| |
|
| 133 | + if ($kill['victim']['corporationID'] == $kmGroup['corpID'] && $rawValue > $kmGroup['minimumlossValue'] || |
|
| 134 | 134 | $kill['victim']['allianceID'] == $kmGroup['allianceID'] && $rawValue > $kmGroup['minimumlossValue']) |
| 135 | 135 | { |
| 136 | 136 | $this->logger->addInfo("Killmails: Mail {$killID} posted because it meet minimum loss value required."); |
@@ -196,22 +196,22 @@ discard block |
||
| 196 | 196 | $allianceContacts = getContacts($allianceID); |
| 197 | 197 | $corpContacts = getContacts($corpID); |
| 198 | 198 | foreach ($roles as $role) { |
| 199 | - if ((@(int)$allianceContacts['standings'] === 5 || @(int)$corpContacts['standings'] === 5) && (string)$role->name === (string)$this->config['plugins']['auth']['standings']['plus5Role']) { |
|
| 199 | + if ((@(int) $allianceContacts['standings'] === 5 || @(int) $corpContacts['standings'] === 5) && (string) $role->name === (string) $this->config['plugins']['auth']['standings']['plus5Role']) { |
|
| 200 | 200 | $member->addRole($role); |
| 201 | 201 | $role = 'blue'; |
| 202 | 202 | break; |
| 203 | 203 | } |
| 204 | - if ((@(int)$allianceContacts['standings'] === 10 || @(int)$corpContacts['standings'] === 10) && (string)$role->name === (string)$this->config['plugins']['auth']['standings']['plus10Role']) { |
|
| 204 | + if ((@(int) $allianceContacts['standings'] === 10 || @(int) $corpContacts['standings'] === 10) && (string) $role->name === (string) $this->config['plugins']['auth']['standings']['plus10Role']) { |
|
| 205 | 205 | $member->addRole($role); |
| 206 | 206 | $role = 'blue'; |
| 207 | 207 | break; |
| 208 | 208 | } |
| 209 | - if ((@(int)$allianceContacts['standings'] === -5 || @(int)$corpContacts['standings'] === -5) && (string)$role->name === (string)$this->config['plugins']['auth']['standings']['minus5Role']) { |
|
| 209 | + if ((@(int) $allianceContacts['standings'] === -5 || @(int) $corpContacts['standings'] === -5) && (string) $role->name === (string) $this->config['plugins']['auth']['standings']['minus5Role']) { |
|
| 210 | 210 | $member->addRole($role); |
| 211 | 211 | $role = 'red'; |
| 212 | 212 | break; |
| 213 | 213 | } |
| 214 | - if ((@(int)$allianceContacts['standings'] === -10 || @(int)$corpContacts['standings'] === -10) && (string)$role->name === (string)$this->config['plugins']['auth']['standings']['minus10Role']) { |
|
| 214 | + if ((@(int) $allianceContacts['standings'] === -10 || @(int) $corpContacts['standings'] === -10) && (string) $role->name === (string) $this->config['plugins']['auth']['standings']['minus10Role']) { |
|
| 215 | 215 | $member->addRole($role); |
| 216 | 216 | $role = 'red'; |
| 217 | 217 | break; |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | } |
| 220 | 220 | if ($role === null) { |
| 221 | 221 | foreach ($roles as $role) { |
| 222 | - if ((string)$role->name === (string)$this->config['plugins']['auth']['standings']['neutralRole']) { |
|
| 222 | + if ((string) $role->name === (string) $this->config['plugins']['auth']['standings']['neutralRole']) { |
|
| 223 | 223 | $member->addRole($role); |
| 224 | 224 | $role = 'neut'; |
| 225 | 225 | break; |