]> arthur.barton.de Git - ngircd-alex.git/commit - src/ngircd/client.h
Implement new function Client_SearchServer()
authorAlexander Barton <alex@barton.de>
Tue, 5 Feb 2013 12:04:11 +0000 (13:04 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 5 Feb 2013 12:06:08 +0000 (13:06 +0100)
commit0ad0fe207ab1705a2b042e7f47f1e0d8ce46e2a9
tree3e2dffdb2248069f4ffbc331f3d324d5701f8526
parent999c11ad49ea1e9c2615e4668f23aae483e549dc
Implement new function Client_SearchServer()

This function returns the server structure of a client or a given "mask";
it is useful for implemention handlers for commands like "COMMAND *.net",
which should work on a server matching "*.net".

Please note that the local server is always returned when it matches the
mask, but besides that, the order is completely arbitrary.
src/ngircd/client.c
src/ngircd/client.h