Skip to content
Commits on Mar 26, 2015
  1. Allow optional password property in the settings

    if the server entry has a password property (it should be a string),
    the password will be sent just after the NICK and USER before anything
    else.
    
    this fixes #54
    committed Mar 26, 2015
Commits on Dec 22, 2014
  1. simplify the pattern match

    committed Dec 22, 2014
Commits on Dec 6, 2014
  1. State is unused

    committed Dec 6, 2014
  2. exit when falling out of the loop so that parent dies too

    also make the loop more visible in the loop
    committed Dec 6, 2014
Commits on Dec 5, 2014
  1. auto-connects itself

    and since it's restarted by a supervisor don't try to trap exits
    committed Dec 5, 2014
Commits on May 23, 2014
  1. Merge pull request #53 from yjh0502/waitpong

    Add waitpong support
    committed May 23, 2014
Commits on May 16, 2014
  1. @yjh0502

    Add waitpong support

    Some irc network uses 'waitpong' which sends PING before
    establishing session and waits for PONG response. This patch
    is an workaround for the problem.
    yjh0502 committed May 16, 2014
Commits on May 1, 2014
  1. extract the loging thing in a separate module

    Stupid and simple module that logs to stdout. The stdout port thing is needed so we can write Erlang binaries,
    no mather if they are utf, latin1 or something else. Seems no other function could do that in Erlang :(
    
    You can override* this module in your own project (that uses ircbot as a library/dependency).
    *override = create a module in your project with the same name as this, and make sure your project is
    before the dependecies in the ERL_LIBS path. Ex. ERL_LIBS=$PWD:$PWD/deps
    committed May 1, 2014
Commits on Apr 28, 2014
  1. Merge pull request #50 from arjan/sockettype-warning-fix

    Fix warning about exported variable
    committed Apr 28, 2014
  2. @arjan
  3. Merge pull request #48 from arjan/fix-plugin-startup

    Fix plugin startup
    committed Apr 28, 2014
  4. @arjan
Commits on Feb 27, 2014
  1. Revert "use crypto:hmac/3 instead of crypto:sha_mac_96/2"

    The new api is not present in the erlang in Debian Stable (7.x) so revert it since I want it compatible with Debian Stable
    committed Feb 27, 2014
Commits on Feb 19, 2014
  1. the bot should be a permanent process

    Thsi was probably a sloppy copy/paste from somewhere. The childspec for the bot
    connection needs to be set to permanent, so that the supervisor will restart
    it when it dies.
    
    I haven't noticed this since the ircbot_fsm has never died until I noticed the
    race condition fixed in the previous commit.
    
    One more issue remains though. When restarted the plugins process blocks
    somewhere.
    committed Feb 19, 2014
  2. avoid a concurrency issue when the connection dies

    Immediately switch to standby state when the connection process dies. This avoids the situation
    when the bot tries to send something on a now 'undefined' connection (Conn) which kills the fsm.
    
    In standby state it never tries to send anything.
    
    this is obviously an old bug, and this commit makes the code a bit simpler, and
    correct.
    committed Feb 19, 2014
Commits on Jan 26, 2014
  1. Make help url configurable

    committed Jan 26, 2014
Commits on Jan 15, 2014
  1. renamed example file

    committed Jan 15, 2014
Commits on Jan 8, 2014
  1. revive the Makefile

    committed Jan 8, 2014
Commits on Jan 3, 2014
  1. use crypto:hmac/3 instead of crypto:sha_mac_96/2

    The other function will be deprecated sometime.
    
    Warning: crypto:sha_mac_96/2 is deprecated and will be removed in in a future release; use crypto:hmac_n/3
    committed Jan 3, 2014
Commits on Dec 29, 2013
Commits on Dec 28, 2013
  1. Merge branch 'skopjehacklab' back to 'master'

    I've made a new repo with just the plugins for our use, and cleaned up this repo.
    The master branch will have the most recent stable code from now on.
    
    Conflicts:
    	settings.cfg.sample
    	src/ircbot_plugin_google.erl
    	src/ircbot_plugin_ping.erl
    	src/ircbot_plugin_roll.erl
    	src/ircbot_plugin_rps.erl
    	src/ircbot_plugin_tell.erl
    	src/ircbot_plugin_title.erl
    	src/ircbot_plugin_viewer.erl
    committed Dec 29, 2013
Commits on Dec 22, 2013
  1. fix to CouchBeam stable branch

    committed Dec 22, 2013
Commits on Dec 2, 2013
  1. Update to hackney 0.8 API

    committed Dec 2, 2013
Commits on Jun 4, 2013
Commits on May 31, 2013
  1. @bor0

    Seen plugin

    Added plugin with !seen and !lastseen commands.
    bor0 committed with May 31, 2013
Commits on Apr 26, 2013
  1. кирилично т

    committed Apr 26, 2013
Commits on Mar 19, 2013
Commits on Mar 13, 2013
  1. update module declarations

    committed Mar 13, 2013
  2. load base plugins by new name

    committed Mar 6, 2013
Something went wrong with that request. Please try again.