Permalink
Browse files

adding realname (ircname) to config

  • Loading branch information...
1 parent 46ee145 commit b80a105bdb620d8c775cd11596593ee5b19016c6 @Oshuma committed Apr 1, 2012
Showing with 5 additions and 2 deletions.
  1. +3 −1 config/scumbag.yml.example
  2. +2 −1 lib/scumbag.rb
@@ -12,7 +12,9 @@ channels:
# IRC details:
nick: 'scumbag'
-user: 'scumbag'
+# Optional:
+# user: 'steve'
+# realname: 'A Total Scumbag'
# Command prefix:
prefix: '?'
View
@@ -40,7 +40,8 @@ def self.create_bot(config_file)
c.server = @@options['server']
c.port = @@options['port']
c.nick = @@options['nick']
- c.user = @@options['user'] if @@options['user']
+ c.user = @@options['user'] if @@options['user']
+ c.realname = @@options['realname'] if @@options['realname']
c.channels = @@options['channels']
# SSL shit.

0 comments on commit b80a105

Please sign in to comment.