diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-02-18 09:36:27 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-02-18 09:36:27 +0300 |
commit | 940ca9311d7097e593bddc7bfc8ed9ba504d66bc (patch) | |
tree | ca86e6f5aae6b3d142675334ace94fb21452fd35 /src/mod_irc_connection.erl | |
parent | Merge pull request #1553 from lemenkov/config_functions_deprecation (diff) |
Fix some dialyzer warnings
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 77c6d912..2b2042bf 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(), |