X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Finspircd.h;h=dfc36a720b4b6734639c144daa9ee52f24c6738e;hb=d54fd9b1e6b31f69332a9241b5f17330c0ad61e0;hp=c4a58e90e17c8eb77d5d1ff6172b3203ad1278f0;hpb=8cd26c0ff3ce079e1c8f6dbb8f0567706abc6284;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/inspircd.h b/include/inspircd.h index c4a58e90e..dfc36a720 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -25,9 +25,9 @@ #include "channels.h" #include "socket.h" #include "mode.h" - #include "socketengine.h" #include "command_parse.h" +#include "snomasks.h" /** Returned by some functions to indicate failure, * and the exit code of the program if it terminates. @@ -373,9 +373,10 @@ class InspIRCd : public classbase */ ServerConfig* Config; - /** Module sockets list, holds the active set of InspSocket classes + /** Snomask manager - handles routing of snomask messages + * to opers. */ - std::vector module_sockets; + SnomaskManager* SNO; /** Client list, a hash_map containing all clients, local and remote */ @@ -868,21 +869,6 @@ class InspIRCd : public classbase */ bool IsValidMask(const std::string &mask); - /** Add an InspSocket class to the active set - * @param sock A socket to add to the active set - */ - void AddSocket(InspSocket* sock); - - /** Remove an InspSocket class from the active set at next time around the loop - * @param sock A socket to remove from the active set - */ - void RemoveSocket(InspSocket* sock); - - /** Delete a socket immediately without waiting for the next iteration of the mainloop - * @param sock A socket to delete from the active set - */ - void DelSocket(InspSocket* sock); - /** Rehash the local server */ void RehashServer();