Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change defines to binaries

  • Loading branch information...
commit dab509856c7d39ecb73d6398034e92fa1e5ea683 1 parent 24487d7
@gdamjan authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/ircbot.hrl
View
10 src/ircbot.hrl
@@ -1,6 +1,6 @@
--define(VERSION, "http://github.com/gdamjan/erlang-irc-bot").
--define(REALNAME, "An experimental Erlang IRC bot").
--define(QUITMSG, "I can feel it, my mind is going...").
+-define(VERSION, <<"http://github.com/gdamjan/erlang-irc-bot">>).
+-define(REALNAME, <<"An experimental Erlang IRC bot">>).
+-define(QUITMSG, <<"I can feel it, my mind is going...">>).
-define(SECOND, 1000).
-define(MINUTE, 60 * 1000).
@@ -12,6 +12,6 @@
-define(REGISTER_TIMEOUT, 30 * ?SECOND). % wait for register on irc
-define(RECONNECT_DELAY, 15 * ?SECOND). % fast reconnect
-define(BACKOFF_DELAY, 15 * ?SECOND). % backoff reconnect 15s base,
- % delay of 0, 5, 20, 45, 80, 125
+ % delay of 0, 5, 20, 45, 80, 125
--define(NICK_SUFFIX, "_"). % append suffix to nickname if nick is in use
+-define(NICK_SUFFIX, <<"_">>). % append suffix to nickname if nick is in use
Please sign in to comment.
Something went wrong with that request. Please try again.