mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +02:00
NO_GEOIP_CONFIG => NO_DEFAULT_GEOIP to make it consistent
As we also have NO_DEFAULT_RPC_SOCKET and NO_DEFAULT_LOG_MEMORY_BLOCK
This commit is contained in:
@@ -13,7 +13,7 @@ This is work in progress and may not always be a stable version.
|
||||
* The `./Config` question on GeoIP now defaults to `mmdb`. Existing users
|
||||
who upgrade will keep their current setting (usually `classic`) for now.
|
||||
* Both `geoip_classic` and `geoip_mmdb` now receive automatic updates
|
||||
* You can `@define $NO_GEOIP_CONFIG "1"` to disable auto configuration
|
||||
* You can `@define $NO_DEFAULT_GEOIP "1"` to disable auto configuration
|
||||
and updates.
|
||||
|
||||
### Fixes:
|
||||
|
||||
@@ -313,11 +313,10 @@ loadmodule "utf8only"; /* UTF8ONLY via set::utf8-only */
|
||||
loadmodule "portinfo"; /* storing local_port and server_port of users */
|
||||
loadmodule "isupport"; /* ISUPPORT / numeric 005 handling */
|
||||
|
||||
@if !defined(NO_DEFAULT_GEOIP)
|
||||
@if $GEOIP_ENGINE != "none"
|
||||
loadmodule "$GEOIP_ENGINE";
|
||||
@endif
|
||||
|
||||
@if !defined(NO_GEOIP_CONFIG)
|
||||
@if module-loaded("geoip_classic")
|
||||
set {
|
||||
geoip-classic {
|
||||
|
||||
Reference in New Issue
Block a user