Revert all the Kaz fixes
This reverts commitefc5d32de7
. This reverts commit441a5707b9
. This reverts commita5a9e25643
.
This commit is contained in:
parent
c1a276366e
commit
2276e66732
|
@ -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:
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue