From 2276e66732824cf7fe915a2e0919e38a60763fe0 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Mon, 18 Jan 2016 20:48:08 -0800 Subject: [PATCH] Revert all the Kaz fixes This reverts commit efc5d32de72d78d3275e9884daec244c4088bcb8. This reverts commit 441a5707b90e908a871f30159ebaf8f264aef4a1. This reverts commit a5a9e256432cc48207c777d0372814e6560a2998. --- core/main.py | 4 ---- plugins/quote.py | 7 ------- 2 files changed, 11 deletions(-) diff --git a/core/main.py b/core/main.py index b2c71fe..93768e1 100644 --- a/core/main.py +++ b/core/main.py @@ -19,10 +19,6 @@ class Input(dict): conn.msg(chan, msg) def reply(msg): - # fuck you you asshole - if nick.startswith("Kaz"): - return None - if chan == nick: # PMs don't need prefixes self.say(msg) else: diff --git a/plugins/quote.py b/plugins/quote.py index 95fc4d3..ec9925d 100644 --- a/plugins/quote.py +++ b/plugins/quote.py @@ -54,9 +54,6 @@ def quote(inp, nick='', chan='', db=None, admin=False): "random or [#n]th quote by or from <#chan>/adds or deletes " \ "quote" - if nick.startswith("Kaz"): - return None - db.execute("create table if not exists quote" "(chan, nick, add_nick, msg, time real, deleted default 0, " "primary key (chan, nick, msg))") @@ -70,10 +67,6 @@ def quote(inp, nick='', chan='', db=None, admin=False): if add: quoted_nick, msg = add.groups() - - if quoted_nick == nick: - return "You can't add quotes for yourself" - try: add_quote(db, chan, quoted_nick, nick, msg) db.commit()