1

add: local geo base for sqlite3

This commit is contained in:
diSabler
2014-07-12 15:53:18 +04:00
parent fc5f4be515
commit a58c3109be
2 changed files with 133 additions and 1 deletions

View File

@@ -44,4 +44,4 @@ def geoip(type, jid, nick, text):
global execute
if base_type == 'pgsql': execute = [(4, 'geo', geoip, 2, 'GEOIP information about IP or domain')]
if base_type in ['pgsql','sqlite3']: execute = [(4, 'geo', geoip, 2, 'GEOIP information about IP or domain')]