Hmm, I've just encountered another problem with it adding duplicates.

When the /ipadd is performed, it appears to check only the newest entry and if it matches the newest entry then it does not add the IP. But if the newest entry is not the same, but entries before the new are match the one being added, it will still add it as a duplicate.

Lol, I don't know if you can understand this or not as I just read it to myself and it's quite confusing. So just in case I'll try a better explanation:

In the database.ini file is the following (example)

[Joe]
1=123.123.123.123
2=1.1.1.1
3=1.2.3.4

When I do the /ipadd it only checks if the 3= is a duplicate of the one being added, and does not check any of the entries before it. So for example if I were to do /ipadd Joe 1.1.1.1 it would add it (even though it already exists as the 2nd entry) because the 3rd entry is not 1.1.1.1 and it completely ignores the first 2 entries.

I've not made any changes to the code other than the ini file name and the channel.

Last edited by schaefer31; 28/08/05 09:16 PM.