Revert all the Kaz fixes

This reverts commit efc5d32de7.
This reverts commit 441a5707b9.
This reverts commit a5a9e25643.
This commit is contained in:
Christine Dodrill 2016-01-18 20:48:08 -08:00
parent c1a276366e
commit 2276e66732
2 changed files with 0 additions and 11 deletions

View File

@ -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:

View File

@ -54,9 +54,6 @@ def quote(inp, nick='', chan='', db=None, admin=False):
"random or [#n]th quote by <nick> 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()