summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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