Skip to content

Instantly share code, notes, and snippets.

@GHF2014
GHF2014 / Antirandom Config
Last active April 23, 2016 21:07
Antirandom Config Code
set {
antirandom {
threshold 5;
ban-action gline;
ban-time 1h;
ban-reason "Mos i perseritni shkronjat ne Nick, Ident ose RealName - http://chat.zemra.org/";
fullstatus-on-load yes;
show-failedconnects yes;
except-hosts {
"122.123.134.135";
@MaleXachi
MaleXachi / Changelog_php_LightIRC.txt
Last active December 31, 2015 17:33
This is a method to login with lightIRC, when you fill in your username and gender and about colours of genders. If you want to add more options, feel free to post a comment. Please click on star, if you like this!
Changes 2015-02-24:
Better Security for $_POST with Errormessages:
- If username is Empty
- If a username don't have legal characters (You can add more values in preg_match())
- If Length of username is longer/shorter than default values (You can change both length of username)
- If username have bad names (You can add more bad names in array of $badNames)
- If gender is Empty
- If gender value is other than default values