summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-01-02 05:18:31 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-01-02 05:18:31 +0100
commitf003d5505d3e65c15e3e28a41c9402dbfee9ae8f (patch)
treef6bdf9530996628b2d7e182760846de8c652cd09
parent1ed0e06c2fefedc7419b611bba405f6ec5ab99cc (diff)
downloadlain-f003d5505d3e65c15e3e28a41c9402dbfee9ae8f.tar
lain-f003d5505d3e65c15e3e28a41c9402dbfee9ae8f.zip
Some finishing touches for the first public version
-rw-r--r--.gitignore1
-rw-r--r--config.rb.example16
-rwxr-xr-x[-rw-r--r--]lain.rb0
3 files changed, 17 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b25c15b..f74e8fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
*~
+config.rb
diff --git a/config.rb.example b/config.rb.example
new file mode 100644
index 0000000..a853746
--- /dev/null
+++ b/config.rb.example
@@ -0,0 +1,16 @@
+module Lain
+ module Config
+ JID = ''
+ Password = ''
+
+ Rooms = ['']
+
+ Modules = {
+ 'Credits' => {},
+ 'DDate' => {},
+ 'Fortune' => { 'command' => '/usr/bin/fortune -a' },
+ 'Help' => {},
+ 'Topic' => {},
+ }
+ end
+end
diff --git a/lain.rb b/lain.rb
index 1ad9b2e..1ad9b2e 100644..100755
--- a/lain.rb
+++ b/lain.rb