mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Fixed bug where it doesn't respond to non-registered users.
This commit is contained in:
parent
6aa3e06402
commit
7ed17912d2
@ -143,7 +143,7 @@ class Notes(callbacks.Privmsg):
|
||||
try:
|
||||
name = ircdb.users.getUserName(msg.prefix)
|
||||
except KeyError:
|
||||
return
|
||||
callbacks.Privmsg.doPrivmsg(self, irc, msg)
|
||||
cursor = self.db.cursor()
|
||||
cursor.execute("""SELECT COUNT(*) FROM notes, users
|
||||
WHERE users.name=%s AND
|
||||
|
Loading…
Reference in New Issue
Block a user