diff options
Diffstat (limited to 'src/mod_irc_connection.erl')
-rw-r--r-- | src/mod_irc_connection.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_irc_connection.erl b/src/mod_irc_connection.erl index 77c6d912a..2b2042bf0 100644 --- a/src/mod_irc_connection.erl +++ b/src/mod_irc_connection.erl @@ -46,7 +46,7 @@ -define(SETS, gb_sets). -record(state, - {socket :: inet:socket(), + {socket :: inet:socket() | undefined, encoding = <<"">> :: binary(), port = 0 :: inet:port_number(), password = <<"">> :: binary(), @@ -59,7 +59,7 @@ realname = <<"">> :: binary(), nick = <<"">> :: binary(), channels = dict:new() :: ?TDICT, - nickchannel :: binary(), + nickchannel :: binary() | undefined, webirc_password :: binary(), mod = mod_irc :: atom(), inbuf = <<"">> :: binary(), |