diff options
| author | Adam <Adam@anope.org> | 2013-05-17 23:04:18 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-05-17 23:04:18 -0400 |
| commit | 2428264315868f0860f9747c8b005536e5442db6 (patch) | |
| tree | 9cd3070f46823ea5f5af32abf84d3c39975e9634 /data/modules.example.conf | |
| parent | cc4a14b0badfe3d617ec2dd230d7921f8650a069 (diff) | |
Add Redis database support
Diffstat (limited to 'data/modules.example.conf')
| -rw-r--r-- | data/modules.example.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/data/modules.example.conf b/data/modules.example.conf index 01730ce29..2129d3ac9 100644 --- a/data/modules.example.conf +++ b/data/modules.example.conf @@ -504,6 +504,31 @@ module { name = "help" } } /* + * m_redis + * + * This module allows other modules to use Redis. + */ +#module +{ + name = "m_redis" + + /* A redis database */ + redis + { + /* The name of this service */ + name = "redis/main" + + /* + * The redis database to use. New connections default to 0. + */ + db = 0 + + ip = "127.0.0.1" + port = 6379 + } +} + +/* * m_regex_pcre * * Provides the regex engine regex/pcre, which uses the Perl Compatible Regular Expressions library. |
