Hello

I have to write a plugin and I need the following. The task is to modify the admin plugin so that the users have rights from IP+ from nick.
For example:
my ip (a.b.c.d) has access "ade"
my nik (Phreak) has acces "abdie"
so when I join the server from my ip and with my nick i should have access: "abdei".
A have the both access strings and how should I do the union so that it is correct not : "ade" + "abdie" = "adeabdie", but "ade" + "abdie" = "abdei"
Thank u ;)