diff options
Diffstat (limited to 'modules/extra')
-rw-r--r-- | modules/extra/m_ssl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/m_ssl.cpp b/modules/extra/m_ssl.cpp index 386dd0d5f..ea1c3e4fb 100644 --- a/modules/extra/m_ssl.cpp +++ b/modules/extra/m_ssl.cpp @@ -19,12 +19,12 @@ class SSLSocket : public ClientSocket private: SSL *sslsock; - const int RecvInternal(char *buf, size_t sz) const + int RecvInternal(char *buf, size_t sz) const { return SSL_read(sslsock, buf, sz); } - const int SendInternal(const Anope::string &buf) const + int SendInternal(const Anope::string &buf) const { return SSL_write(sslsock, buf.c_str(), buf.length()); } |