Commit 17ef2ab2 authored by Jean-Benoist Leger's avatar Jean-Benoist Leger

update

parent 7dba720f
......@@ -2,4 +2,4 @@ server_name = irc.crans.org
server_port = 6667
nickname = legifrance
remain_time = 300
chans = "#flood", "#legibot"
chans = "#flood", "#general", "#crans", "#legifrance"
......@@ -261,7 +261,9 @@ class MmBot(irc.IRCClient):
else:
txt = self.codes.get_content(codename,article)
if not txt is None:
self.msg(channel,'{%s}:\n%s' % (form, txt))
self.msg(channel,'{%s}' % form)
for mline in txt.split('\n'):
self.msg(channel,mline)
used_view[(channel,codename,article)] = time.time()
m= re.sub(reg,'',m,1)
......
......@@ -14,9 +14,11 @@ CRoute = LEGITEXT000006074228
CAssur = LEGITEXT000006073984
CEnergie = LEGITEXT000023983208
CE = LEGITEXT000006070239
CGCT = LEGITEXT000006070633
[textids]
LCEN = JORFTEXT000000801164
LoiInfoLib = JORFTEXT000000886460
Loi81LibPresse = LEGITEXT000006070722
Constitution = LEGITEXT000006071194
DecretEnsCachan = JORFTEXT000023375575
4nov2014 = LEGITEXT000029707254
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment