diff options
author | Adam <Adam@anope.org> | 2011-01-08 00:25:11 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-01-08 00:25:11 -0500 |
commit | 512d23d60f25203ab88605ba131a0704cadd2263 (patch) | |
tree | f7bf42a648677f02f170db1e6692fafad10d81c6 /include/sockets.h | |
parent | 44038491264a350a8849e1d7e8547bbdec134d74 (diff) |
Made the Flag class able to convert flags to strings and back
Diffstat (limited to 'include/sockets.h')
-rw-r--r-- | include/sockets.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sockets.h b/include/sockets.h index 4d6938e09..6d48d1481 100644 --- a/include/sockets.h +++ b/include/sockets.h @@ -121,6 +121,8 @@ enum SocketFlag SF_WRITABLE }; +static const Anope::string SocketFlagStrings[] = { "SF_DEAD", "SF_WRITABLE", "" }; + class Socket; class ClientSocket; class ListenSocket; |