]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socket.h
Made m_denychans support wildcards
[user/henk/code/inspircd.git] / include / socket.h
index cf2b9bf5bcab1a680d5af5b1a7704b1db2245965..1e6ca56a2b4b23ac4634753a6efc0d05133d3dfb 100644 (file)
@@ -150,6 +150,7 @@ class ListenSocket : public EventHandler
        /** The creator/owner of this object
         */
        InspIRCd* ServerInstance;
+       std::string desc;
  public:
        /** Create a new listening socket
         */
@@ -160,6 +161,17 @@ class ListenSocket : public EventHandler
        /** Close the socket
         */
        ~ListenSocket();
+       /** Set descriptive text
+        */
+       void SetDescription(const std::string &description)
+       {
+               desc = description;
+       }
+
+       const std::string& GetDescription()
+       {
+               return desc;
+       }
 };
 
 #endif