totallymike/ircnode — pull request #45 by thatvalterguy (2012-04-01 13:35:51+00:00)
Title: [PULL] Authorization using hostnames

This is a proposed solution to #40.

Entries are added to the hosts file (config_path/hosts.json) with syntax of "host": "auth_level". The bot first looks for matches inside host list and if there is a match for the host, it will not look at users.json file.

```json
{
"unaffiliated/thatvalterguy": "owner",
"pdpc/supporter/active/someone": "admin",
"example.com": "admin",
"255.255.255.256": "admin"
}
```