Package: manderlbot / 0.9.2-19

config.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
Index: manderlbot/conf/config.xml
=====================================================================
--- manderlbot.orig/conf/config.xml
+++ manderlbot/conf/config.xml
@@ -1,77 +1,45 @@
 <manderlbot name="Manderlbot http://manderlbot.tuxfamily.org" controler="dim">
-	<dict host="localhost" port="2628" default="wn">
-	</dict>
+    <dict host="localhost" port="2628" default="wn"/>
 
-	<server host="irc.tuxfamily.org" port="6667">
-		<channel name="#manderlbot-test" botname="mdb"
-			behaviours="rejoin reconf login mute prout hop dict jargon
-			google pyramid deb dfile bofh rtfm">
-		</channel>
-	</server>
-
-	<behaviours>
-		<behaviour name="rejoin" action="rejoin" op="kick">
-			rejoin
-		</behaviour>
-
-		<behaviour name="reconf" action="reconf" pattern="^%BOTNAME:.*reconf">
-			/etc/manderlbot/config.xml
-		</behaviour>
-
-		<behaviour name="login" action="say" op="join" from="%BOTNAME">
-			Hello world
-		</behaviour>
-
-		<behaviour name="mute" action="mute" pattern="^%BOTNAME: mute">
-			mute
-		</behaviour>
-
-        <behaviour name="deb" action="debian_pkg" pattern="^apt-search">
-			debian_pkg
-        </behaviour>
-
-		<behaviour name="dfile" action="debian_file" pattern="^apt-file">
-			debian_file
-        </behaviour>
-
-
-		<behaviour name="pyramid" action="pyramid" pattern="^pyramid">
-			pyramid
-		</behaviour>
-
-		<behaviour name="google" action="google" pattern="^google">
-			google
-		</behaviour>
-
-		<behaviour name="dict" action="dict" pattern="^dict">
-			wn
-		</behaviour>
-
-		<behaviour name="jargon" action="dict" pattern="^jargon">
-			jargon
-		</behaviour>
-
-		<behaviour name="hop" action="say" pattern="hop op">
-			poh
-		</behaviour>
-
-		<behaviour name="prout" action="say" pattern="pra?out" from="^dim">
-			plic plic plic
-		</behaviour>
-
-        <behaviour name="rtfm" action="random"
-                        pattern="(aide|help|plz|comprend|comment)"
-						exl_pattern="[c]a va">
-%R.T.F.M.
+    <server host="irc.tuxfamily.org" port="6667">
+	<channel name="#manderlbot-test" botname="mdb"
+		 behaviours="rejoin reconf login mute prout hop dict jargon google pyramid deb dfile bofh rtfm">
+	</channel>
+    </server>
+
+    <behaviours>
+	<behaviour name="rejoin" action="rejoin" op="kick">rejoin</behaviour>
+
+	<behaviour name="reconf" action="reconf" pattern="^%BOTNAME:.*reconf">/etc/manderlbot/config.xml</behaviour>
+
+	<behaviour name="login" action="say" op="join" from="%BOTNAME">Hello world</behaviour>
+
+	<behaviour name="mute" action="mute" pattern="^%BOTNAME: mute">mute</behaviour>
+
+        <behaviour name="deb" action="debian_pkg" pattern="^apt-search">debian_pkg</behaviour>
+
+	<behaviour name="dfile" action="debian_file" pattern="^apt-file">debian_file</behaviour>
+
+	<behaviour name="pyramid" action="pyramid" pattern="^pyramid">pyramid</behaviour>
+
+	<behaviour name="google" action="google" pattern="^google">google</behaviour>
+
+	<behaviour name="dict" action="dict" pattern="^dict">wn</behaviour>
+
+	<behaviour name="jargon" action="dict" pattern="^jargon">jargon</behaviour>
+
+	<behaviour name="hop" action="say" pattern="hop op">poh</behaviour>
+
+	<behaviour name="prout" action="say" pattern="pra?out" from="^dim">plic plic plic</behaviour>
+
+	<behaviour name="rtfm" action="random"
+		   pattern="(aide|help|plz|comprend|comment)">%R.T.F.M.
 %I do not like newbies
 %http://www.tuxedo.org/~esr/faqs/smart-questions.html
 %http://www.gnurou.org/documents/smart-questions-fr.html
 %http://michel.arboi.free.fr/humeur/nioubis.html
-%http://www.readthefuckingmanual.com
-        </behaviour>
+%http://www.readthefuckingmanual.com</behaviour>
 
-		<behaviour name="bofh" action="fortune" pattern="(bofh|BOFH|excuse)">
-			/etc/manderlbot/bofh.fortune
-		</behaviour>
-	</behaviours>
+	<behaviour name="bofh" action="fortune" pattern="(bofh|BOFH|excuse)">/etc/manderlbot/bofh.fortune</behaviour>
+    </behaviours>
 </manderlbot>