Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Darst <rkd@zgib.net>2009-05-27 23:01:51 (GMT)
committer Richard Darst <rkd@zgib.net>2009-05-27 23:01:51 (GMT)
commit5acfd65090b328c100adf7f32c3335c1dcb29606 (patch)
treea6d6284c3399b3d2d8ea03e8b42b5d11faf0254a
parent5c3d7f1442f019355b5d652ddf2607fdcb7242f7 (diff)
default to not writing rawlog in Meeting object
- When a meeting is logged via IRC, it *is* still logged, just for other uses it might not be. This is a better default, since otherwise we'll be replaying log files and don't want to risk overwriting them. darcs-hash:20090527230151-82ea9-d5af3055b20632fa81ed5b7d0b36e19a32f280d6.gz
-rw-r--r--meeting.py2
-rw-r--r--plugin.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/meeting.py b/meeting.py
index cc645cc..00ffb1f 100644
--- a/meeting.py
+++ b/meeting.py
@@ -237,7 +237,7 @@ class Meeting(MeetingCommands, object):
_lurk = False
_restrictlogs = False
def __init__(self, channel, owner, oldtopic=None,
- filename=None, writeRawLog=True):
+ filename=None, writeRawLog=False):
self.owner = owner
self.channel = channel
self.currenttopic = ""
diff --git a/plugin.py b/plugin.py
index f85368f..7291452 100644
--- a/plugin.py
+++ b/plugin.py
@@ -80,7 +80,8 @@ class MeetBot(callbacks.Plugin):
irc.error("Can't start another meeting, one is in progress.")
return
M = meeting.Meeting(channel=channel, owner=nick,
- oldtopic=irc.state.channels[channel].topic)
+ oldtopic=irc.state.channels[channel].topic,
+ writeRawLog=True)
self.Meetings[Mkey] = M
# This callback is used to send data to the channel:
def _setTopic(x):