]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socket.h
Remove Extensible items from user, channel, and Membership on module unload
[user/henk/code/inspircd.git] / include / socket.h
index f97630d0463070d7e3d253415f52723fc4784aae..5ca9fc18fc967e199ae7d74d450ba0d0f1e6bdda 100644 (file)
@@ -178,7 +178,7 @@ class CoreExport ListenSocketBase : public EventHandler
        const std::string& GetDescription() { return desc; }
        /** Get port number for socket
         */
-       const int GetPort() { return bind_port; }
+       int GetPort() const { return bind_port; }
 
        /** Get IP address socket is bound to
         */