summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2018-02-01 09:43:53 +1030
committerdaniel-Jones <daniel@danieljon.es>2018-02-01 09:43:53 +1030
commitbf7b6fb7e66c14f80de71c416a78b83e1a2fb371 (patch)
tree7a7b6d7fd78600224803fc1fb69ecf8e7ee50cbd
parent5b0aaef21e91db8a4d6dcfd3c2d134439a4cb6cc (diff)
downloadminiircd-master.tar.gz
miniircd-master.zip
allowed logging only in #funHEADmaster
-rwxr-xr-xminiircd2
1 files changed, 2 insertions, 0 deletions
diff --git a/miniircd b/miniircd
index 9a409c8..c77c925 100755
--- a/miniircd
+++ b/miniircd
@@ -657,6 +657,8 @@ class Client(object):
def channel_log(self, channel, message, meta=False):
if not self.server.channel_log_dir:
return
+ if channel.name != "#fun":
+ return;
if meta:
format = "[%s] * %s %s\n"
else: