Support:Queries: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
imported>Kymara
Line 37: Line 37:
=== Banning an IP ===
=== Banning an IP ===
<source lang="SQL">
<source lang="SQL">
-- this bans a single IP address - you can vary the mask to ban a range
insert into banlist(address,mask,reason)
insert into banlist(address,mask,reason)
values ("[ip-address]","255.255.255.255","[reason]");
values ("[ip-address]","255.255.255.255","[reason]");