summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h
index 4aed944ee..28b370725 100644
--- a/include/users.h
+++ b/include/users.h
@@ -683,7 +683,11 @@ class CoreExport UserIOHandler : public StreamSocket
{
public:
LocalUser* const user;
- UserIOHandler(LocalUser* me) : user(me) {}
+ UserIOHandler(LocalUser* me)
+ : StreamSocket(StreamSocket::SS_USER)
+ , user(me)
+ {
+ }
void OnDataReady() CXX11_OVERRIDE;
void OnSetEndPoint(const irc::sockets::sockaddrs& local, const irc::sockets::sockaddrs& remote) CXX11_OVERRIDE;
void OnError(BufferedSocketError error) CXX11_OVERRIDE;