X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fsocket.h;h=5ca9fc18fc967e199ae7d74d450ba0d0f1e6bdda;hb=01c23b31f7d0ea87052cd22814af826ecb11f0f3;hp=f97630d0463070d7e3d253415f52723fc4784aae;hpb=06e0d5c7f0f78c489090fe5f0c18a91e8cb41ae8;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/socket.h b/include/socket.h index f97630d04..5ca9fc18f 100644 --- a/include/socket.h +++ b/include/socket.h @@ -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 */